We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent feaf133 commit b5ec8ddCopy full SHA for b5ec8dd
.github/workflows/rust.yml
@@ -24,6 +24,9 @@ on:
24
branches:
25
- master
26
27
+ schedule:
28
+ - cron: '0 0 * * *'
29
+
30
jobs:
31
32
licenses:
@@ -38,6 +41,32 @@ jobs:
38
41
export PATH=$PATH:$(go env GOPATH)/bin
39
42
addlicense -check .
40
43
44
+ audit:
45
+ runs-on: ubuntu-latest
46
47
+ steps:
48
+ - uses: actions/checkout@v2
49
50
+ - name: Run cargo audit
51
+ run: |
52
+ cp -p cargo/Cargo.lock .
53
+ cargo audit
54
55
+ outdated:
56
57
58
59
60
61
+ - name: Run cargo outdated
62
+ run: cargo outdated --exit-code 1
63
64
+ - name: Check freshness of cargo/Cargo.lock
65
66
+ cargo generate-lockfile
67
+ mv Cargo.lock cargo/
68
+ git diff --exit-code
69
70
stable:
71
runs-on: ubuntu-latest
72
0 commit comments