diff options
author | Matthew Gumport <[email protected]> | 2024-06-14 13:49:31 -0700 |
---|---|---|
committer | Matthew (mbg) <[email protected]> | 2024-06-21 11:23:35 -0700 |
commit | 648a6ad0554442be5f9c8d396a66843552156d1f (patch) | |
tree | b234acf1914e6e35bbbf711db279c92957067ca5 | |
parent | 05005e2a4d1598fed4640f5abe930217d58ebbd3 (diff) | |
download | pingora-648a6ad0554442be5f9c8d396a66843552156d1f.tar.gz pingora-648a6ad0554442be5f9c8d396a66843552156d1f.zip |
ci: update targeted toolchains
Adds nightly to the toolchain list and short-circuits steps where nightly will
have extra warnings.
Also update 1.78->1.79 to track new stable release.
-rw-r--r-- | .github/workflows/build.yml | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index de737fa..477b010 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -6,8 +6,7 @@ jobs: pingora: strategy: matrix: - # TODO: add nightly - toolchain: [1.78, 1.72] + toolchain: [nightly, 1.72, 1.79] 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. @@ -46,7 +45,9 @@ 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) |