Revised workflow
Some checks reported warnings
Rust-build / build (push) Has been cancelled

This commit is contained in:
Justine Pelletreau 2023-07-22 19:45:44 +02:00
parent c51d855d9c
commit 3db7162612

View File

@ -27,30 +27,12 @@ jobs:
with:
command: check
- name: Install nightly toolchain with clippy available
uses: https://github.com/actions-rs/toolchain@v1
with:
profile: minimal
toolchain: nightly
override: true
components: clippy
- name: Run cargo clippy
uses: https://github.com/actions-rs/cargo@v1
continue-on-error: true # WARNING: only for this example, remove it!
with:
command: clippy
args: -- -D warnings
- name: Test
run: cargo test
- name: Build
run: cargo build --release
- name: Build
run: cargo build --release
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2