Add tests #5
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Beta lints | |
# These lints are only informative, so we only run them directly on branches | |
# and not trial-merges of PRs, to reduce noise. | |
on: push | |
jobs: | |
clippy-beta: | |
name: Clippy (beta) | |
timeout-minutes: 30 | |
runs-on: ubuntu-latest | |
continue-on-error: true | |
steps: | |
- uses: actions/checkout@v3 | |
- id: prepare | |
uses: ./.github/actions/prepare | |
with: | |
toolchain: beta | |
nightly-features: true | |
- run: rustup component add clippy | |
- name: Run Clippy (beta) | |
uses: actions-rs/clippy-check@v1 | |
continue-on-error: true | |
with: | |
name: Clippy (beta) | |
token: ${{ secrets.GITHUB_TOKEN }} | |
args: > | |
${{ steps.prepare.outputs.feature-flags }} | |
--all-targets | |
-- -W clippy::all |