Skip to content

Commit b5e4760

Browse files
authored
Merge pull request #246 from hug-dev/upgrade
Upgrade and clean dependencies
2 parents 72ebbee + 8070213 commit b5e4760

File tree

12 files changed

+231
-453
lines changed

12 files changed

+231
-453
lines changed

.github/workflows/nightly.yml

+35
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
name: Nightly Checks
2+
3+
on:
4+
schedule:
5+
# Every night at midnight
6+
- cron: '0 0 * * *'
7+
8+
jobs:
9+
dependencies:
10+
name: Check for unused dependencies
11+
runs-on: ubuntu-latest
12+
steps:
13+
- uses: actions/checkout@v2
14+
- name: Install latest Rust
15+
uses: actions-rs/toolchain@v1
16+
with:
17+
toolchain: nightly
18+
- name: Install cargo udeps
19+
run: cargo install cargo-udeps --locked
20+
- name: Execute cargo udeps
21+
run: cargo +nightly udeps
22+
23+
audit:
24+
name: Check for crates with security vulnerabilities
25+
runs-on: ubuntu-latest
26+
steps:
27+
- uses: actions/checkout@v2
28+
- name: Install latest Rust
29+
uses: actions-rs/toolchain@v1
30+
with:
31+
toolchain: nightly
32+
- name: Install cargo audit
33+
run: cargo install cargo-audit
34+
- name: Execute cargo audit
35+
run: cargo audit

0 commit comments

Comments
 (0)