diff --git a/.forgejo/workflows/test.yml b/.forgejo/workflows/test.yml index 307fdfb..4a12799 100644 --- a/.forgejo/workflows/test.yml +++ b/.forgejo/workflows/test.yml @@ -7,7 +7,7 @@ jobs: runs-on: docker container: image: - git.kemitix.net/kemitix/rust:v3.0.0-rc2 + git.kemitix.net/kemitix/rust:v3.0.0 strategy: matrix: toolchain: diff --git a/README.md b/README.md index 193c9bd..f3637c6 100644 --- a/README.md +++ b/README.md @@ -11,23 +11,25 @@ on: [push] jobs: test: runs-on: docker + container: + image: + git.kemitix.net/kemitix/rust:v3.0.0 steps: - - uses: https://git.kemitix.net/kemitix/rust@v2.4.0 - with: - args: nightly cargo test - - uses: https://git.kemitix.net/kemitix/rust@v2.4.0 - with: - args: v1.79.0 cargo build + - name: test with nightly + run: cargo +nightly test + - name: build with v1.74.1 + run: cargo +1.74.1 cargo build + - name: test with stable + run: cargo test ``` -The `args` is one of the following: +## Toolchains -- <COMMAND> -- [ nightly | stable | v1.xx.x ] <COMMAND> +The available toolchain in the image are: -`COMMAND` is the command you want to run. The optional prefix is the Rust toolchain, or version. Allowed values are `nightly`, `stable` or a Rust version. - -Where the optional prefix is not given, the `stable` toolchain will be used. The `stable` version is currently `1.82.0`. +- `nightly` +- stable +- 1.74.1 ## Contents @@ -40,13 +42,3 @@ Where the optional prefix is not given, the `stable` toolchain will be used. The - cargo-chef - cargo-hack - release-plz - -## Binary size - -To reduce the size of the debug binary, add the following to the `.cargo/config.toml` file in you project. - -```toml -[profile.dev] -debug = 0 -strip = "debuginfo" -```