rust-nightly #2
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
# Builds the proxy on the nightly toolchain to help catch Rust regressions before they hit beta. | |
name: rust-nightly | |
on: | |
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" | |
RUSTUP_MAX_RETRIES: 10 | |
permissions: | |
contents: read | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
container: ghcr.io/linkerd/dev:v40-rust | |
timeout-minutes: 20 | |
continue-on-error: true | |
steps: | |
- run: rustup toolchain install --profile=minimal nightly | |
- uses: actions/checkout@8f4b7f84864484a7bf31766abe9204da3cbe65b3 | |
- run: git config --global --add safe.directory "$PWD" # actions/runner#2033 | |
- run: just toolchain=nightly fetch | |
- run: just toolchain=nightly profile=release build |