Debian Codegraph @

crt/s2n/.github/workflows/dependencies.yml

raw symbols SCIP
1 ---
2 name: dependencies
3
4 on:
5 # Because of permissions issues with forked PRs,
6 # Only run on a schedule or pushes to main.
7 push:
8 branches:
9 - main
10 # Only run if these files were touched.
11 paths:
12 - "**/Cargo.toml"
13 - "**/Cargo.lock"
14 - ".github/workflows/dependencies.yml"
15
16 schedule:
17 # Run every day at 1800 UTC.
18 - cron: "0 18 * * *"
19
20 env:
21 ROOT_PATH: bindings/rust/extended
22
23 jobs:
24 audit:
25 runs-on: ubuntu-latest
26 permissions:
27 issues: write # Open/update issues.
28 checks: write # Create/update a check run.
29 steps:
30 - uses: actions/checkout@v7
31 - name: Install Rust toolchain
32 id: toolchain
33 run: |
34 rustup toolchain install stable
35 rustup override set stable
36 - uses: camshaft/rust-cache@v1
37 - name: Generate
38 run: ${{env.ROOT_PATH}}/generate.sh
39 - uses: rustsec/[email protected]
40 with:
41 token: ${{ secrets.GITHUB_TOKEN }}
42 working-directory: ${{env.ROOT_PATH}}