Skip to content

Commit

Permalink
I am Spartacus
Browse files Browse the repository at this point in the history
trying another method
  • Loading branch information
nick-mobilecoin committed Oct 11, 2023
1 parent 5d03021 commit 5a50c4c
Showing 1 changed file with 10 additions and 6 deletions.
16 changes: 10 additions & 6 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -60,13 +60,17 @@ jobs:
- "lint"
strategy:
matrix:
include:
- rust: stable
suppression: "-Aclippy::incorrect_clone_impl_on_copy_type"
- rust: beta
suppression: "-Aclippy::non_canonical_clone_impl"
rust:
- stable
- beta
# Prevent beta warnings from causing CI failure
continue-on-error: ${{ matrix.rust == 'beta' }}
if: ${{ matrix.rust == 'stable' }}
env:
SUPPRESSION: "-Aclippy::incorrect_clone_impl_on_copy_type"
if: ${{ matrix.rust == 'beta' }}
env:
SUPPRESSION: "-Aclippy::non_canonical_clone_impl"
steps:
- uses: actions/checkout@v4
- uses: mobilecoinfoundation/actions/dcap-libs@main
Expand All @@ -77,7 +81,7 @@ jobs:
toolchain: ${{ matrix.rust }}
components: clippy
- uses: r7kamura/rust-problem-matchers@v1
- run: cargo +${{ matrix.rust }} clippy --all --all-features -- -D warnings ${{ matrix.suppression }}
- run: cargo +${{ matrix.rust }} clippy --all --all-features -- -D warnings $SUPPRESSION

build:
runs-on: ubuntu-22.04
Expand Down

0 comments on commit 5a50c4c

Please sign in to comment.