-
Notifications
You must be signed in to change notification settings - Fork 14
80 lines (74 loc) · 1.95 KB
/
features.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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
name: features
on:
pull_request:
paths:
- "**/Cargo.toml"
- "**/*.rs"
- justfile
- .github/workflows/features.yml
permissions:
contents: read
env:
CARGO_INCREMENTAL: 0
CARGO_NET_RETRY: 10
RUSTUP_MAX_RETRIES: 10
jobs:
cleanup:
runs-on: ubuntu-latest
permissions:
actions: write
steps:
- uses: styfle/cancel-workflow-action@85880fa0301c86cca9da44039ee3bb12d3bedbfa
with:
all_but_latest: true
access_token: ${{ github.token }}
all-check:
strategy:
matrix:
rust:
- "1.74"
- "1.76"
timeout-minutes: 10
runs-on: ubuntu-latest
steps:
- uses: linkerd/dev/actions/setup-tools@v43
- uses: linkerd/dev/actions/setup-rust@v43
with:
version: ${{ matrix.rust }}
components: clippy
- uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b
- uses: Swatinem/rust-cache@23bce251a8cd2ffc3c1075eaa2367cf899916d84
- run: just fetch
- run: just features=all clippy
feature-check:
strategy:
matrix:
feature:
- admin
- admin,prometheus-client
- client
- "client rustls-tls"
- "client openssl-tls"
- "client openssl-tls rustls-tls"
- errors
- index
- initialized
- lease
- log
- prometheus-client
- requeue
- runtime
- runtime,prometheus-client
- server
- "server rustls-tls"
- "server openssl-tls"
- "server openssl-tls rustls-tls"
- shutdown
timeout-minutes: 10
runs-on: ubuntu-latest
container: ghcr.io/linkerd/dev:v43-rust
steps:
- uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b
- uses: Swatinem/rust-cache@23bce251a8cd2ffc3c1075eaa2367cf899916d84
- run: just fetch
- run: just "features=${{ matrix.feature }}" clippy