Skip to content

Commit

Permalink
CI: Update the Lints and Skeptic jobs
Browse files Browse the repository at this point in the history
- Disable the `fail-fast` flag for the Lints and Skeptic jobs.
- Replace `actions-rs/clippy-check` with a regular `run` command.
  • Loading branch information
tatsuya6502 committed Feb 10, 2024
1 parent de68c99 commit 1324182
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/Lints.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ jobs:
if: needs.pre_job.outputs.should_skip != 'true'
runs-on: ubuntu-latest
strategy:
# Continue running other jobs in the matrix even if one fails.
fail-fast: false
matrix:
rust:
- toolchain: stable
Expand All @@ -45,10 +47,7 @@ jobs:
components: rustfmt, clippy

- name: Run Clippy
uses: actions-rs/clippy-check@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
args: --lib --tests --all-features --all-targets -- -D warnings
run: cargo clippy --lib --tests --all-features --all-targets -- -D warnings
env:
RUSTFLAGS: ${{ matrix.rust.rustflags }}

Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/Skeptic.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ jobs:
if: needs.pre_job.outputs.should_skip != 'true'
runs-on: ubuntu-latest
strategy:
# Continue running other jobs in the matrix even if one fails.
fail-fast: false
matrix:
rust:
- stable
Expand All @@ -41,7 +43,6 @@ jobs:
uses: dtolnay/rust-toolchain@master
with:
toolchain: ${{ matrix.rust }}
components: rustfmt, clippy

- name: Run tests (sync feature)
run: cargo test --release --features sync
Expand Down

0 comments on commit 1324182

Please sign in to comment.