swc/.github/workflows/crev.yml
2022-01-07 20:03:03 +09:00

35 lines
782 B
YAML

name: "crev: Dependencies"
on: [push, pull_request]
jobs:
check-deps:
name: Check dependencies
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install Rust
uses: actions-rs/toolchain@v1
with:
profile: minimal
- name: Remove unrelated
run: |
rm -rf packages
rm -rf tests
ls -al
- name: Configure cargo-crev
run: |
cargo install cargo-crev
git config --global user.name 'SWC bot'
git config --global user.email 'bot@swc.rs'
cargo crev trust --level high https://github.com/kdy1/crev-proofs
cargo crev repo fetch all
- name: Check dependencies
run: |
./scripts/crev/verify.sh