Skip to content

Commit

Permalink
Merge pull request #246 from hug-dev/upgrade
Browse files Browse the repository at this point in the history
Upgrade and clean dependencies
  • Loading branch information
hug-dev authored Sep 16, 2020
2 parents 72ebbee + 8070213 commit b5e4760
Show file tree
Hide file tree
Showing 12 changed files with 231 additions and 453 deletions.
35 changes: 35 additions & 0 deletions .github/workflows/nightly.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: Nightly Checks

on:
schedule:
# Every night at midnight
- cron: '0 0 * * *'

jobs:
dependencies:
name: Check for unused dependencies
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install latest Rust
uses: actions-rs/toolchain@v1
with:
toolchain: nightly
- name: Install cargo udeps
run: cargo install cargo-udeps --locked
- name: Execute cargo udeps
run: cargo +nightly udeps

audit:
name: Check for crates with security vulnerabilities
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install latest Rust
uses: actions-rs/toolchain@v1
with:
toolchain: nightly
- name: Install cargo audit
run: cargo install cargo-audit
- name: Execute cargo audit
run: cargo audit
Loading

0 comments on commit b5e4760

Please sign in to comment.