-
Notifications
You must be signed in to change notification settings - Fork 2
37 lines (32 loc) · 896 Bytes
/
lint.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
name: lint
permissions:
contents: read
on:
pull_request:
paths:
- "**/*.rs"
- .github/workflows/lint.yml
jobs:
clippy:
timeout-minutes: 10
runs-on: ubuntu-latest
container: docker://ghcr.io/linkerd/dev:v36-rust
steps:
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332
- run: just-cargo fetch --locked
- run: just-cargo clippy
fmt:
timeout-minutes: 10
runs-on: ubuntu-latest
container: docker://ghcr.io/linkerd/dev:v36-rust
steps:
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332
- run: just-cargo fmt --check
docs:
timeout-minutes: 10
runs-on: ubuntu-latest
container: docker://ghcr.io/linkerd/dev:v36-rust
steps:
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332
- run: just-cargo fetch
- run: just-cargo doc --no-deps