Skip to content

Commit

Permalink
ci: fixes for cargo audit (aws#4895)
Browse files Browse the repository at this point in the history
  • Loading branch information
dougch authored Nov 18, 2024
1 parent 45efb09 commit 535af43
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .github/workflows/dependencies.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
---
name: dependencies

on:
Expand All @@ -16,6 +17,9 @@ on:
# Run every day at 1800 UTC.
- cron: "0 18 * * *"

env:
ROOT_PATH: bindings/rust

jobs:
audit:
runs-on: ubuntu-latest
Expand All @@ -24,6 +28,15 @@ jobs:
checks: write # Create/update a check run.
steps:
- uses: actions/checkout@v4
- name: Install Rust toolchain
id: toolchain
run: |
rustup toolchain install stable
rustup override set stable
- uses: camshaft/rust-cache@v1
- name: Generate
run: ${{env.ROOT_PATH}}/generate.sh
- uses: rustsec/[email protected]
with:
token: ${{ secrets.GITHUB_TOKEN }}
working-directory: ${{env.ROOT_PATH}}

0 comments on commit 535af43

Please sign in to comment.