summaryrefslogtreecommitdiff
path: root/.github/workflows/audit.yaml
blob: ade1ce90c4b6cc9bb7227f7ed179ef4b953aade0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
name: audit crates
# this checks our dependencies for
# security advisories every saturday

on:
  schedule:
    - cron: "0 0 * * 6"
  workflow_dispatch:

jobs:
  audit:
    runs-on: ubuntu-latest

    steps:
      - uses: actions/checkout@v3

      - name: setup nix & cachix
        uses: ./.github/actions/setup-nix
        with:
          cachix-token: ${{ secrets.CACHIX_AUTH_TOKEN }}

      - name: run audit
        run: |
          nix build -L .#checks.x86_64-linux.audit