3
0
Fork 0
mirror of https://github.com/Swatinem/rust-cache synced 2025-04-18 09:49:02 +00:00

Create clippy_build.yml

This commit is contained in:
Giovanni 2021-10-28 10:42:42 +02:00 committed by GitHub
parent d127014599
commit 3942d04775
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

30
.github/workflows/clippy_build.yml vendored Normal file
View file

@ -0,0 +1,30 @@
name: clippy_build
on: [push, pull_request]
jobs:
selftest:
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
name: Test Action on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
override: true
- uses: ./
with:
cache-on-failure: true
- run: |
cargo install cargo-deny --locked
cargo clippy
cargo build