Skip to content

Commit

Permalink
fix CI
Browse files Browse the repository at this point in the history
  • Loading branch information
adolsalamanca committed Sep 10, 2023
1 parent 78b0cab commit d1f81cf
Showing 1 changed file with 19 additions and 6 deletions.
25 changes: 19 additions & 6 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,25 @@ jobs:
pull-requests: write
repository-projects: write
steps:
- uses: actions/checkout@v4
- run: rustup component add clippy
- uses: actions-rs/clippy-check@v1
- uses: actions/checkout@v3

- uses: actions/cache@v3
with:
path: |
~/.cargo/registry
~/.cargo/git
./target
key: cargo-
restore-keys: |
cargo-
- uses: dtolnay/rust-toolchain@stable
with:
components: clippy
- uses: giraffate/clippy-action@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
args: --all-features
reporter: 'github-pr-review'
github_token: ${{ secrets.GITHUB_TOKEN }}

- name: Run tests
uses: actions-rs/cargo@v1
Expand All @@ -22,4 +35,4 @@ jobs:
args: --all
env:
CARGO_INCREMENTAL: 0
RUSTFLAGS: "-Zprofile -Ccodegen-units=1 -Cinline-threshold=0 -Clink-dead-code -Coverflow-checks=off -Cpanic=abort -Zpanic_abort_tests"
RUSTFLAGS: "-Zprofile -Ccodegen-units=1 -Cinline-threshold=0 -Clink-dead-code -Coverflow-checks=off -Cpanic=abort -Zpanic_abort_tests"

0 comments on commit d1f81cf

Please sign in to comment.