Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 16 additions & 13 deletions .github/workflows/cargo-deny.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,20 +2,20 @@ name: Cargo Deny

on:
push:
branches: [ main ]
branches: [main]
paths:
- '**/Cargo.toml'
- '**/Cargo.lock'
- 'deny.toml'
- '.github/workflows/cargo-deny.yml'
- "**/Cargo.toml"
- "**/Cargo.lock"
- "deny.toml"
- ".github/workflows/cargo-deny.yml"
pull_request:
paths:
- '**/Cargo.toml'
- '**/Cargo.lock'
- 'deny.toml'
- '.github/workflows/cargo-deny.yml'
- "**/Cargo.toml"
- "**/Cargo.lock"
- "deny.toml"
- ".github/workflows/cargo-deny.yml"
schedule:
- cron: '0 0 * * MON' # Weekly on Monday
- cron: "0 0 * * MON" # Weekly on Monday

jobs:
cargo-deny:
Expand All @@ -34,17 +34,20 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2

- name: Install Rust
uses: dtolnay/rust-toolchain@7b1c307e0dcbda6122208f10795a713336a9b35a # stable
uses: dtolnay/rust-toolchain@7b1c307e0dcbda6122208f10795a713336a9b35a # stable
with:
toolchain: stable

- name: Cache cargo
uses: Swatinem/rust-cache@v2

- name: Install cargo-deny
uses: taiki-e/install-action@v2
with:
tool: cargo-deny@0.16.2

- name: Run cargo-deny
run: cargo deny --all-features check ${{ matrix.checks }}
run: cargo deny --all-features check ${{ matrix.checks }}
5 changes: 4 additions & 1 deletion .github/workflows/publish-crates.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:
workflow_dispatch:
inputs:
dry-run:
description: 'Dry run (do not actually publish)'
description: "Dry run (do not actually publish)"
required: false
default: false
type: boolean
Expand Down Expand Up @@ -43,6 +43,9 @@ jobs:
- name: Install Rust
uses: dtolnay/rust-toolchain@stable

- name: Cache cargo
uses: Swatinem/rust-cache@v2

- name: Install cargo-workspaces
run: cargo install cargo-workspaces

Expand Down
Loading