Skip to content

build(deps): bump EmbarkStudios/cargo-deny-action from 1.6.3 to 2.0.2 #462

build(deps): bump EmbarkStudios/cargo-deny-action from 1.6.3 to 2.0.2

build(deps): bump EmbarkStudios/cargo-deny-action from 1.6.3 to 2.0.2 #462

Workflow file for this run

name: rust
on:
pull_request:
paths:
- Cargo.*
- '**/*.rs'
- '**/*.proto'
- justfile
- .github/workflows/rust.yml
env:
CARGO_INCREMENTAL: 0
CARGO_NET_RETRY: 10
RUSTFLAGS: "-D warnings -A deprecated"
RUSTUP_MAX_RETRIES: 10
permissions:
contents: read
jobs:
gen-check:
timeout-minutes: 10
runs-on: ubuntu-latest
container: docker://ghcr.io/linkerd/dev:v43-rust
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
- run: just rs-fetch
- run: just rs-gen-check
rust-clippy:
timeout-minutes: 10
runs-on: ubuntu-latest
container: docker://ghcr.io/linkerd/dev:v43-rust
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
- run: just rs-fetch
- run: just rs-clippy
rust-docs:
timeout-minutes: 10
runs-on: ubuntu-latest
container: docker://ghcr.io/linkerd/dev:v43-rust
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
- run: just rs-fetch
- run: just rs-docs
rust-test:
timeout-minutes: 10
runs-on: ubuntu-latest
container: docker://ghcr.io/linkerd/dev:v43-rust
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
- run: just rs-fetch
- run: just rs-test-build
- run: just rs-test
rust-deps:
timeout-minutes: 5
runs-on: ubuntu-latest
strategy:
matrix:
checks:
- advisories
- bans licenses sources
# Prevent sudden announcement of a new advisory from failing Ci.
continue-on-error: ${{ matrix.checks == 'advisories' }}
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
- uses: EmbarkStudios/cargo-deny-action@f87fcad0e65efa7cbdec993036c394fa9be14262
with:
command: check ${{ matrix.checks }}