Release/v2.207.0 light metrics #13
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Each job should typically run in under 5 minutes. | |
name: lint | |
permissions: | |
contents: read | |
on: | |
pull_request: | |
paths: | |
- "**/*.rs" | |
- justfile | |
- .github/workflows/lint.yml | |
env: | |
CARGO_INCREMENTAL: 0 | |
CARGO_NET_RETRY: 10 | |
RUSTUP_MAX_RETRIES: 10 | |
RUSTFLAGS: "-D warnings -A deprecated" | |
jobs: | |
clippy: | |
timeout-minutes: 10 | |
runs-on: ubuntu-latest | |
container: ghcr.io/linkerd/dev:v40-rust | |
steps: | |
- uses: actions/checkout@8f4b7f84864484a7bf31766abe9204da3cbe65b3 | |
- run: git config --global --add safe.directory "$PWD" # actions/runner#2033 | |
- run: just fetch | |
- run: just clippy | |
fmt: | |
timeout-minutes: 10 | |
runs-on: ubuntu-latest | |
container: ghcr.io/linkerd/dev:v40-rust | |
steps: | |
- uses: actions/checkout@8f4b7f84864484a7bf31766abe9204da3cbe65b3 | |
- run: git config --global --add safe.directory "$PWD" # actions/runner#2033 | |
- run: just check-fmt | |
docs: | |
timeout-minutes: 10 | |
runs-on: ubuntu-latest | |
container: ghcr.io/linkerd/dev:v40-rust | |
steps: | |
- uses: actions/checkout@8f4b7f84864484a7bf31766abe9204da3cbe65b3 | |
- run: git config --global --add safe.directory "$PWD" # actions/runner#2033 | |
- run: just fetch | |
- run: just doc | |