Skip to content

Commit

Permalink
ci: update targeted toolchains
Browse files Browse the repository at this point in the history
  • Loading branch information
gumpt committed Jun 17, 2024
1 parent a432c2d commit 824dd1d
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,7 @@ jobs:
pingora:
strategy:
matrix:
# TODO: add nightly
toolchain: [1.78, 1.72]
toolchain: [nightly, 1.72, 1.78]
runs-on: ubuntu-latest
# Only run on "pull_request" event for external PRs. This is to avoid
# duplicate builds for PRs created from internal branches.
Expand Down Expand Up @@ -46,7 +45,10 @@ jobs:
run: cargo test --verbose --doc

- name: Run cargo clippy
run: cargo clippy --all-targets --all -- --deny=warnings
run: |
[[ ${{ matrix.toolchain }} == nightly ]] || cargo clippy --all-targets --all -- --deny=warnings
- name: Run cargo audit
uses: actions-rust-lang/audit@v1
run: |
[[ ${{ matrix.toolchain }} == nightly ]] || (cargo install cargo-audit && cargo audit)

0 comments on commit 824dd1d

Please sign in to comment.