forked from linkerd/linkerd2-proxy
-
Notifications
You must be signed in to change notification settings - Fork 2
34 lines (30 loc) · 957 Bytes
/
nightly.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
# Builds the proxy on the nightly toolchain to help catch Rust regressions before they hit beta.
name: rust-nightly
on:
workflow_dispatch: {}
pull_request:
paths:
- justfile
- .github/workflows/nightly.yml
schedule:
# Run daily @ midnightish Pacific-time.
- cron: "0 8 * * *"
env:
CARGO_INCREMENTAL: 0
CARGO_NET_RETRY: 10
RUSTFLAGS: "-D warnings -A opaque_hidden_inferred_bound -C debuginfo=0"
RUSTUP_MAX_RETRIES: 10
permissions:
contents: read
jobs:
build:
runs-on: ubuntu-latest
container: ghcr.io/linkerd/dev:v43-rust
timeout-minutes: 20
continue-on-error: true
steps:
- run: rustup toolchain install --profile=minimal nightly
- uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b
- run: git config --global --add safe.directory "$PWD" # actions/runner#2033
- run: just toolchain=nightly fetch
- run: just toolchain=nightly profile=release build