mirror of
https://github.com/astral-sh/ruff.git
synced 2025-10-02 22:54:42 +00:00
Include rust-toolchain in source distribution (#8414)
**Summary** Simplify CI by ensuring that the source distribution is always built with the rust version that has been explicitly tested. See discussion in #8389 Closes #8389 --------- Co-authored-by: Zanie <contact@zanie.dev> Co-authored-by: Stijn de Gooijer <stijndegooijer@gmail.com>
This commit is contained in:
parent
3fc920cd12
commit
d5abe55b03
2 changed files with 3 additions and 1 deletions
1
.github/workflows/release.yaml
vendored
1
.github/workflows/release.yaml
vendored
|
@ -48,7 +48,6 @@ jobs:
|
|||
args: --out dist
|
||||
- name: "Test sdist"
|
||||
run: |
|
||||
rustup default $(cat rust-toolchain)
|
||||
pip install dist/${{ env.PACKAGE_NAME }}-*.tar.gz --force-reinstall
|
||||
ruff --help
|
||||
python -m ruff --help
|
||||
|
|
|
@ -52,6 +52,9 @@ exclude = [
|
|||
"crates/ruff_linter/resources/test/fixtures/**/*",
|
||||
"crates/ruff_linter/src/rules/*/snapshots/**/*"
|
||||
]
|
||||
include = [
|
||||
"rust-toolchain.toml"
|
||||
]
|
||||
|
||||
[tool.ruff]
|
||||
extend-exclude = [
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue