mirror of
https://github.com/swc-project/swc.git
synced 2024-12-24 06:05:02 +03:00
40 lines
899 B
YAML
40 lines
899 B
YAML
name: "crev: Dependencies"
|
|
|
|
on: [push, pull_request]
|
|
|
|
jobs:
|
|
check-deps:
|
|
name: Check dependencies
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
|
|
- name: Install Rust
|
|
uses: actions-rs/toolchain@v1
|
|
with:
|
|
profile: minimal
|
|
|
|
- name: Remove unrelated
|
|
run: |
|
|
rm -rf packages
|
|
rm -rf tests
|
|
ls -al
|
|
|
|
- name: Install cargo-crev
|
|
uses: baptiste0928/cargo-install@v1.1.0
|
|
with:
|
|
crate: cargo-crev
|
|
version: "0.23.1"
|
|
|
|
- name: Configure cargo-crev
|
|
run: |
|
|
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
|