Skip to content

ci: try debug rustup conflict #3571

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,13 @@ jobs:
- name: Install nox
run: python -m pip install --upgrade pip && pip install nox

- name: Check rust-src
run: ls -l /home/runner/.rustup/toolchains/*/lib/rustlib/src/rust
continue-on-error: true

- name: Check rustup components
run: rustup component list --installed

- name: Install Rust toolchain
uses: dtolnay/rust-toolchain@master
with:
Expand Down
25 changes: 25 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,18 +17,43 @@ env:
CARGO_TERM_COLOR: always

jobs:
rustup-repro:
if: github.ref != 'refs/heads/main'
runs-on: ubuntu-latest
steps:
- name: Check rust-src
run: ls -l /home/runner/.rustup/toolchains/*/lib/rustlib/src/rust
continue-on-error: true
- name: Check rustup components
run: rustup component list --installed
- name: Check rust-src (2)
run: ls -l /home/runner/.rustup/toolchains/*/lib/rustlib/src/rust
continue-on-error: true
- uses: dtolnay/rust-toolchain@stable
with:
components: rustfmt
- name: Check rust-src (3)
run: ls -l /home/runner/.rustup/toolchains/*/lib/rustlib/src/rust
continue-on-error: true

fmt:
if: github.ref != 'refs/heads/main'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v4
- run: python -m pip install --upgrade pip && pip install nox
- name: Check rust-src
run: ls -l /home/runner/.rustup/toolchains/*/lib/rustlib/src/rust
continue-on-error: true
- uses: dtolnay/rust-toolchain@stable
with:
components: rustfmt
- name: Check python formatting and lints (ruff)
run: nox -s ruff
- name: Check rust-src again
run: ls -l /home/runner/.rustup/toolchains/*/lib/rustlib/src/rust
continue-on-error: true
- name: Check rust formatting (rustfmt)
run: nox -s rustfmt

Expand Down