mirror of
https://github.com/Swatinem/rust-cache.git
synced 2025-08-14 20:55:13 +00:00
Create clippy_build.yml
This commit is contained in:
parent
d127014599
commit
3942d04775
30
.github/workflows/clippy_build.yml
vendored
Normal file
30
.github/workflows/clippy_build.yml
vendored
Normal 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
|
Loading…
x
Reference in New Issue
Block a user