Skip to content

Commit

Permalink
Try to ignore beta clippy errors
Browse files Browse the repository at this point in the history
  • Loading branch information
larseggert committed Jan 2, 2024
1 parent cc98a37 commit 2d8298b
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions .github/workflows/check.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
name: CI
on:
push:
branches: [ "main" ]
paths-ignore: [ "*.md", "*.png", "*.svg", "LICENSE-*" ]
branches: ["main"]
paths-ignore: ["*.md", "*.png", "*.svg", "LICENSE-*"]
pull_request:
branches: [ "main" ]
paths-ignore: [ "*.md", "*.png", "*.svg", "LICENSE-*" ]
branches: ["main"]
paths-ignore: ["*.md", "*.png", "*.svg", "LICENSE-*"]
env:
CARGO_TERM_COLOR: always

Expand All @@ -16,8 +16,11 @@ jobs:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
# TODO: add beta (and nightly?) but don't fail the test if they fail
rust-toolchain: [1.70.0, stable]
ignore_clippy_errors: [false]
include:
- rust-toolchain: beta # Also nightly?
ignore_clippy_errors: true
runs-on: ${{ matrix.os }}
defaults:
run:
Expand Down Expand Up @@ -118,6 +121,7 @@ jobs:
- name: Clippy
run: cargo +${{ matrix.rust-toolchain }} clippy -v --tests -- -D warnings
if: success() || failure()
continue-on-error: ${{ matrix.ignore_clippy_errors }}

- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v3
Expand Down

0 comments on commit 2d8298b

Please sign in to comment.