rust-cache/.github/workflows/selftest.yml

31 lines
582 B
YAML
Raw Normal View History

name: CI
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
profile: minimal
override: true
- uses: ./
2021-06-29 05:18:07 +08:00
with:
cache-on-failure: true
- run: |
cargo install cargo-deny --locked
cargo check
2021-06-29 05:18:07 +08:00
cargo test