Skip to content

Commit

Permalink
Move off of deprecated actions
Browse files Browse the repository at this point in the history
  • Loading branch information
benbrandt committed Nov 15, 2023
1 parent 0e0ca1c commit 54b9bb1
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 15 deletions.
5 changes: 1 addition & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,10 +63,7 @@ jobs:
- uses: Swatinem/rust-cache@v2

- run: cargo fmt -- --check
- uses: actions-rs/[email protected]
with:
token: ${{ secrets.GITHUB_TOKEN }}
args: --workspace --all-features --all-targets
- run: cargo clippy --workspace --all-features --all-targets

- uses: taiki-e/install-action@cargo-hack
- name: cargo hack
Expand Down
18 changes: 7 additions & 11 deletions .github/workflows/security.yml
Original file line number Diff line number Diff line change
@@ -1,18 +1,14 @@
name: Security audit

on:
schedule:
- cron: "0 0 * * 0"

push:
paths:
- '**/Cargo.toml'
- '**/Cargo.lock'
jobs:
audit:
security_audit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions-rs/[email protected]
with:
crate: cargo-audit
version: latest
- uses: actions-rs/[email protected]
- uses: actions/checkout@v3
- uses: rustsec/[email protected]
with:
token: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 54b9bb1

Please sign in to comment.