diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 9968393..7b20c94 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -8,23 +8,30 @@ jobs: test: name: Test ${{ matrix.os }} ${{ matrix.toolchain }} runs-on: ${{ matrix.os }} + continue-on-error: ${{ matrix.toolchain == 'nightly' }} strategy: fail-fast: false matrix: include: - os: ubuntu-latest toolchain: stable + clippyargs: -D clippy::all -D clippy::pedantic - os: macOS-latest toolchain: stable + clippyargs: -D clippy::all -D clippy::pedantic - os: ubuntu-latest toolchain: nightly + clippyargs: -W clippy::all -W clippy::pedantic # - os: ubuntu-latest # toolchain: 1.41.1 # Debian 10 Buster + # clippyargs: -W clippy::all -W clippy::pedantic -A clippy::unknown-clippy-lints - os: ubuntu-latest toolchain: 1.47.0 # Alpine 3.13 + clippyargs: -W clippy::all -W clippy::pedantic -A clippy::unknown-clippy-lints - os: ubuntu-latest toolchain: 1.48.0 # Debian 11 Bullseye + clippyargs: -W clippy::all -W clippy::pedantic -A clippy::unknown-clippy-lints steps: - uses: actions/checkout@v2 @@ -40,7 +47,7 @@ jobs: uses: actions-rs/cargo@v1 with: command: clippy - args: --verbose --all-targets --all-features -- -D clippy::all -D clippy::pedantic -W clippy::unknown-clippy-lints + args: --verbose --all-targets --all-features -- ${{ matrix.clippyargs }} - name: Run tests uses: actions-rs/cargo@v1