Skip to content

Commit

Permalink
update rust.yml workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
gillett-hernandez committed May 19, 2024
1 parent 88d9386 commit 31a29b0
Showing 1 changed file with 3 additions and 14 deletions.
17 changes: 3 additions & 14 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,19 +15,8 @@ jobs:
name: Rust project
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Install latest nightly
uses: actions-rs/toolchain@v1
with:
toolchain: nightly
profile: minimal
override: true
components: rustfmt, clippy
uses: dtolnay/rust-toolchain@nightly

# `cargo check` command here will use installed `nightly`
# as it is set as an "override" for current directory

- name: Run cargo test
uses: actions-rs/cargo@v1
with:
command: test
- run: cargo test --all-features

0 comments on commit 31a29b0

Please sign in to comment.