mirror of
https://github.com/tauri-apps/plugins-workspace.git
synced 2026-06-06 13:53:54 +02:00
ci: don't use unmaintained actions-rs actions
This commit is contained in:
@@ -28,6 +28,13 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: actions-rs/audit-check@v1
|
||||
with:
|
||||
token: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
- name: Download cargo-audit
|
||||
run: |
|
||||
curl -s https://api.github.com/repos/rustsec/rustsec/releases/latest | grep "browser_download_url.*cargo-audit-x86_64-unknown-linux-musl.*" | cut -d : -f 2,3 | tr -d \" | wget -qi -
|
||||
tar -xvzf ./cargo-audit*.tgz
|
||||
mv ./cargo-audit*/cargo-audit ./cargo-audit
|
||||
chmod +x ./cargo-audit
|
||||
|
||||
- name: Run cargo-audit
|
||||
run: ./cargo-audit audit -D unmaintained -D yanked
|
||||
|
||||
Reference in New Issue
Block a user