-
Notifications
You must be signed in to change notification settings - Fork 270
34 lines (30 loc) · 978 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 --cfg tokio_unstable -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@11bd71901bbe5b1630ceea73d27597364c9af683
- run: git config --global --add safe.directory "$PWD" # actions/runner#2033
- run: just toolchain=nightly fetch
- run: just toolchain=nightly profile=release build