Skip to content

Commit

Permalink
[#77] Add cargo deny check to Nightly build
Browse files Browse the repository at this point in the history
  • Loading branch information
sophokles73 committed Aug 13, 2024
1 parent f3591ae commit 9be6fc9
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 6 deletions.
10 changes: 4 additions & 6 deletions .github/workflows/check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -52,13 +52,11 @@ jobs:
- uses: actions/checkout@v4
with:
submodules: "recursive"
- uses: dtolnay/rust-toolchain@master
- uses: EmbarkStudios/cargo-deny-action@v2
with:
toolchain: ${{ env.RUST_TOOLCHAIN }}
- uses: taiki-e/install-action@cargo-deny
- name: Run cargo deny check
run: |
cargo deny check
rust-version: ${{ env.RUST_TOOLCHAIN }}
command: check
arguments: --all-features

# [impl->req~up-language-ci-build~1]
check:
Expand Down
15 changes: 15 additions & 0 deletions .github/workflows/nightly.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,25 @@ concurrency:
group: ${{ github.ref }}-${{ github.workflow }}
cancel-in-progress: true

env:
RUST_TOOLCHAIN: ${{ vars.RUST_TOOLCHAIN || 'stable' }}

jobs:
check-msrv:
uses: ./.github/workflows/verify-msrv.yaml

deny:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
submodules: "recursive"
- uses: EmbarkStudios/cargo-deny-action@v2
with:
rust-version: ${{ env.RUST_TOOLCHAIN }}
command: check
arguments: --all-features

test-all-features:
uses: ./.github/workflows/test-featurematrix.yaml

Expand Down

0 comments on commit 9be6fc9

Please sign in to comment.