Skip to content

Commit

Permalink
Unify audit and detect workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
hecrj committed Sep 7, 2023
1 parent 34876ae commit 8cfad86
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 19 deletions.
20 changes: 17 additions & 3 deletions .github/workflows/audit.yml
Original file line number Diff line number Diff line change
@@ -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
16 changes: 0 additions & 16 deletions .github/workflows/detect.yml

This file was deleted.

0 comments on commit 8cfad86

Please sign in to comment.