ci: Convert audit job to (scheduled) GitHub actions workflow
This commit is contained in:
parent
43905b731a
commit
dcf5081735
@ -1,9 +0,0 @@
|
||||
image: archlinux
|
||||
packages:
|
||||
- cargo-audit
|
||||
sources:
|
||||
- https://github.com/ruma/ruma
|
||||
tasks:
|
||||
- audit: |
|
||||
cd ruma
|
||||
cargo audit
|
12
.github/workflows/audit.yml
vendored
Normal file
12
.github/workflows/audit.yml
vendored
Normal file
@ -0,0 +1,12 @@
|
||||
on:
|
||||
schedule:
|
||||
# every monday at 4AM (UTC?)
|
||||
- cron: '0 4 * * 1'
|
||||
jobs:
|
||||
audit:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v1
|
||||
- uses: actions-rs/audit-check@v1
|
||||
with:
|
||||
token: ${{ secrets.GITHUB_TOKEN }}
|
Loading…
x
Reference in New Issue
Block a user