Skip to content

Commit

Permalink
Refactor cargo-check action to cargo-deny (#291)
Browse files Browse the repository at this point in the history
  • Loading branch information
hatchan authored Apr 30, 2024
1 parent 1e50cc1 commit 5d6f744
Show file tree
Hide file tree
Showing 3 changed files with 142 additions and 67 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/audit_rust.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
---
name: Audit Rust code

on:
push:
branches: ["**"]
paths:
- "**/Cargo.toml"
- "**/Cargo.lock"
- "**/deny.toml"
schedule:
- cron: "43 1 * * *"
workflow_dispatch:

jobs:
rust_audit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
submodules: recursive

- uses: EmbarkStudios/cargo-deny-action@v1
with:
credentials: https://fiberplanebot:${{ secrets.PRIVATE_GITHUB_TOKEN }}@github.com/
Loading

0 comments on commit 5d6f744

Please sign in to comment.