Skip to content

Commit 2276654

Browse files
committed
feat: Perform cargo audit
Closes #107
1 parent 4cc394a commit 2276654

1 file changed

Lines changed: 21 additions & 0 deletions

File tree

.circleci/config.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,23 @@
77
#
88
version: 2
99
jobs:
10+
audit:
11+
docker:
12+
- image: circleci/rust:latest
13+
steps:
14+
- checkout
15+
- run:
16+
name: Setup rust
17+
command: |
18+
rustup install stable
19+
rustup default stable
20+
rustup update
21+
cargo install cargo-audit
22+
rustc --version
23+
- run:
24+
name: Do audit
25+
command: |
26+
cargo audit
1027
build:
1128
docker:
1229
- image: docker:18.03.0-ce
@@ -76,6 +93,10 @@ workflows:
7693
version: 2
7794
build-test-deploy:
7895
jobs:
96+
- audit:
97+
filters:
98+
tags:
99+
only: /.*/
79100
- build:
80101
filters:
81102
tags:

0 commit comments

Comments
 (0)