mirror of
https://github.com/swc-project/swc.git
synced 2024-12-20 04:01:39 +03:00
35 lines
782 B
YAML
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
|