Skip to content

Commit

Permalink
ci: use nightly rust
Browse files Browse the repository at this point in the history
  • Loading branch information
zeapoz committed Sep 28, 2023
1 parent 7709513 commit 664a239
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,19 +10,21 @@ env:
CARGO_TERM_COLOR: always

jobs:
core:
cargo:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
checks: [
cargo fmt --all --check,
cargo check --all-targets --all-features,
cargo clippy --all-targets --all-features,
cargo test
fmt --all --check,
check --all-targets --all-features,
clippy --all-targets --all-features,
test
]
steps:
- uses: actions/checkout@v4
- uses: Swatinem/rust-cache@v2
- name: Install nightly Rust
run: rustup default nightly
- name: ${{ matrix.checks }}
run: ${{ matrix.checks }}
run: cargo ${{ matrix.checks }}

0 comments on commit 664a239

Please sign in to comment.