forked from open-telemetry/otel-arrow
-
Notifications
You must be signed in to change notification settings - Fork 0
30 lines (28 loc) · 749 Bytes
/
rust-audit.yml
File metadata and controls
30 lines (28 loc) · 749 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
name: Rust-Audit
permissions:
contents: read
on:
push:
branches:
- main
paths:
- 'rust/otap-dataflow/Cargo.toml'
schedule:
- cron: '0 2 * * 1' # run at 2 AM UTC every Monday
jobs:
audit:
strategy:
fail-fast: false
matrix:
folder: [otap-dataflow]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v5.0.1
- uses: dtolnay/rust-toolchain@6d653acede28d24f02e3cd41383119e8b1b35921
with:
toolchain: stable
- name: cargo install cargo-audit
run: cargo install cargo-audit
- name: cargo audit ${{ matrix.folder }}
run: cargo audit
working-directory: ./rust/${{ matrix.folder }}