Bump image from 0.24.7 to 0.24.9 #153
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Rust | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
branches: [main] | |
env: | |
CARGO_TERM_COLOR: always | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
# When rustup is updated, it tries to replace its binary, which on Windows is somehow locked. | |
# This can result in the CI failure, see: https://github.com/rust-lang/rustup/issues/3029 | |
- name: rustup | |
run: | | |
rustup set auto-self-update disable | |
rustup toolchain install nightly --profile minimal | |
- uses: Swatinem/rust-cache@v2 | |
- name: cargo | |
run: | | |
cargo check | |
cargo build --release |