8000 Merge branch 'main' into main · RustPython/RustPython@befc7d2 · GitHub
[go: up one dir, main page]

Skip to content

Commit befc7d2

Browse files
authored
Merge branch 'main' into main
2 parents a2a95e3 + 4331d65 commit befc7d2

File tree

152 files changed

+6489
-1183
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

152 files changed

+6489
-1183
lines changed

.github/workflows/ci.yaml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,8 @@ jobs:
118118
path: compiler/parser/python.rs
119119
key: lalrpop-${{ hashFiles('compiler/parser/python.lalrpop') }}
120120
- uses: dtolnay/rust-toolchain@stable
121+
with:
122+
components: clippy
121123
- name: Set up the Windows environment
122124
shell: bash
123125
run: |
@@ -128,6 +130,10 @@ jobs:
128130
run: brew install autoconf automake libtool
129131
if: runner.os == 'macOS'
130132
- uses: Swatinem/rust-cache@v1
133+
134+
- name: run clippy
135+
run: cargo clippy ${{ env.CARGO_ARGS }} ${{ env.NON_WASM_PACKAGES }} -- -Dwarnings
136+
131137
- name: run rust tests
132138
run: cargo test --workspace --exclude rustpython_wasm --verbose --features threading ${{ env.CARGO_ARGS }} ${{ env.NON_WASM_PACKAGES }}
133139
- name: check compilation without threading
@@ -331,8 +337,6 @@ jobs:
331337
components: rustfmt, clippy
332338
- name: run rustfmt
333339
run: cargo fmt --all -- --check
334-
- name: run clippy
335-
run: cargo clippy ${{ env.CARGO_ARGS }} ${{ env.NON_WASM_PACKAGES }} -- -Dwarnings
336340
- name: run clippy on wasm
337341
run: cargo clippy --manifest-path=wasm/lib/Cargo.toml -- -Dwarnings
338342
- uses: actions/setup-python@v2

0 commit comments

Comments
 (0)
0