Skip to content

Commit

Permalink
build(audits): Split security audit out of build workflow (#22)
Browse files Browse the repository at this point in the history
There are currently unfixable issues with `chrono 0.4.19` in security audits...
Until these are fixable they are just showing up as build failures
Splitting this into it's own workflow is probably the correct thing long term anyways
  • Loading branch information
jakeswenson committed Dec 11, 2021
1 parent 346d780 commit d2f403b
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 4 deletions.
4 changes: 0 additions & 4 deletions .github/workflows/build.yml
Expand Up @@ -21,10 +21,6 @@ jobs:
with:
token: ${{ secrets.GITHUB_TOKEN }}
args: --all-features
- name: Security audit
uses: actions-rs/audit-check@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
build:
runs-on: ubuntu-latest
steps:
Expand Down
18 changes: 18 additions & 0 deletions .github/workflows/security.yml
@@ -0,0 +1,18 @@
name: Security Audits

on:
schedule:
# Every Saturday at 1PM UTC (6AM PST)
chron: "0 13 * * 6"
pull_request:
branches: [ main ]

jobs:
security-audit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Security audit
uses: actions-rs/audit-check@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit d2f403b

Please sign in to comment.