mirror of
https://github.com/dtolnay/rust-toolchain.git
synced 2025-06-07 11:16:37 +00:00
24 lines
469 B
YAML
24 lines
469 B
YAML
name: repro
|
|
|
|
on:
|
|
push:
|
|
branches: [repro]
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
jobs:
|
|
repro:
|
|
name: Repro
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- run: mkdir -p broken/lib broken/bin
|
|
- run: touch broken/bin/rustc
|
|
- run: rustup toolchain link broken $PWD/broken
|
|
- run: rustup override set broken
|
|
- run: rm -r broken/
|
|
- uses: ./
|
|
with:
|
|
toolchain: beta
|
|
- run: rustc --version
|