diff --git a/.github/workflows/clippy.yml b/.github/workflows/clippy.yml new file mode 100644 index 0000000..d176db8 --- /dev/null +++ b/.github/workflows/clippy.yml @@ -0,0 +1,20 @@ +name: Clippy pedantic mode + +on: + push: + branches: [ "main" ] + pull_request: + branches: [ "main" ] + +env: + CARGO_TERM_COLOR: always + +jobs: + build: + + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v4 + - name: Clippy + run: cargo clippy --all -- -W clippy::all -W clippy::pedantic