diff options
author | 2023-09-07 03:02:06 +0200 | |
---|---|---|
committer | 2023-09-07 03:02:06 +0200 | |
commit | 8cfad86ec1bb8d6f65eeec051e59b3ade982ef36 (patch) | |
tree | 8800d24acb3bc2d792363f146a657e8faa66cb40 /.github/workflows/audit.yml | |
parent | 34876aea5ea698f342220e7b7c0bed33a42859d2 (diff) | |
download | iced-8cfad86ec1bb8d6f65eeec051e59b3ade982ef36.tar.gz iced-8cfad86ec1bb8d6f65eeec051e59b3ade982ef36.tar.bz2 iced-8cfad86ec1bb8d6f65eeec051e59b3ade982ef36.zip |
Unify `audit` and `detect` workflows
Diffstat (limited to '.github/workflows/audit.yml')
-rw-r--r-- | .github/workflows/audit.yml | 20 |
1 files changed, 17 insertions, 3 deletions
diff --git a/.github/workflows/audit.yml b/.github/workflows/audit.yml index ba5dc190..e9f4b0c5 100644 --- a/.github/workflows/audit.yml +++ b/.github/workflows/audit.yml @@ -1,12 +1,26 @@ name: Audit -on: [push] +on: + push: {} + pull_request: {} + schedule: + - cron: '0 0 * * *' jobs: - dependencies: + vulnerabilities: runs-on: ubuntu-latest steps: - uses: hecrj/setup-rust-action@v1 - name: Install cargo-audit run: cargo install cargo-audit - uses: actions/checkout@master - - name: Audit dependencies + - name: Audit vulnerabilities run: cargo audit + + artifacts: + runs-on: ubuntu-latest + steps: + - uses: hecrj/setup-rust-action@v1 + - name: Install cargo-outdated + run: cargo install cargo-outdated + - uses: actions/checkout@master + - name: Find outdated dependencies + run: cargo outdated --workspace --exit-code 1 |