Compare commits

..

No commits in common. "master" and "v1.70.0" have entirely different histories.

4 changed files with 20 additions and 67 deletions

View File

@ -1,18 +0,0 @@
name: Integration test for new action version
on:
push:
branches: [ "master" ]
pull_request:
types: [opened, reopened, synchronize]
jobs:
it:
runs-on: ubuntu-latest
container:
image: ovlach/docker-gitea:v0.0.2-alpha
steps:
- uses: https://github.com/actions/checkout.git@v4
- name: Verify that Docker image can be built
run: |
docker build .

View File

@ -1,23 +0,0 @@
name: Integration test for new action version
on:
push:
branches: [ "master" ]
pull_request:
types: [opened, reopened, synchronize]
jobs:
it:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Verify that Docker image can be built
run: |
docker build .
- name: Run tests of subdir `integration-test`
uses: ./
with:
args: |
cargo fmt --manifest-path integration-test/Cargo.toml -- --check \
&& cargo clippy --manifest-path integration-test/Cargo.toml -- -Dwarnings \
&& cargo test --manifest-path integration-test/Cargo.toml

View File

@ -1,24 +1,18 @@
FROM git.nanobyte.cz/nanobyte-public/nano-rust:1.78.81a775c FROM rust:1.70.0
LABEL "com.github.actions.name"="Rust Action Box" LABEL "com.github.actions.name"="Rust Action Box"
LABEL "com.github.actions.description"="'Silverbullet' for a quickstart Rust CI based upon Github Actions" LABEL "com.github.actions.description"="'Silverbullet' for a quickstart Rust CI based upon Github Actions"
LABEL "com.github.actions.icon"="play-circle" LABEL "com.github.actions.icon"="play-circle"
LABEL "com.github.actions.color"="gray-dark" LABEL "com.github.actions.color"="gray-dark"
RUN rustup show RUN rustup component add clippy-preview
RUN rustup uninstall nightly RUN rustup component add rustfmt-preview
RUN rustup install nightly
RUN rustup show RUN cargo install cargo-release
RUN rustup component add clippy-preview
RUN rustup component add rustfmt-preview RUN apt-get update && apt-get install -y \
cmake \
&& rm -rf /var/lib/apt/lists/*
RUN apt-get update && apt-get install -y \
cmake \ COPY entrypoint.sh /entrypoint.sh
&& rm -rf /var/lib/apt/lists/* ENTRYPOINT ["/entrypoint.sh"]
RUN cargo --version
RUN rustc --version
COPY entrypoint.sh /entrypoint.sh
ENTRYPOINT ["/entrypoint.sh"]

View File

@ -2,11 +2,11 @@
'Silverbullet' for a quickstart Rust CI based upon [Github Actions](https://developer.github.com/actions/) 'Silverbullet' for a quickstart Rust CI based upon [Github Actions](https://developer.github.com/actions/)
[![img](https://img.shields.io/badge/Rust-1.73.0-orange)](https://blog.rust-lang.org/2023/10/05/Rust-1.73.0.html) [![Conventional Commits](https://img.shields.io/badge/Conventional%20Commits-1.0.0-%23FE5196?logo=conventionalcommits&logoColor=white)](https://conventionalcommits.org) [![](https://img.shields.io/badge/Rust-1.70.0-orange)](https://blog.rust-lang.org/2023/06/01/Rust-1.70.0.html)
*What's inside the "box":* *What's inside the "box":*
* Rust 1.73.0 * Rust 1.70.0
* Rustfmt * Rustfmt
* Clippy * Clippy
* Cargo Release * Cargo Release