-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Add actionlint step #7464
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
Add actionlint step #7464
Changes from 4 commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
@@ -141,7 +141,7 @@ | |||||||||||||||
|
|
||||||||||||||||
| - name: Install dependencies | ||||||||||||||||
| uses: ./.github/actions/install-linux-deps | ||||||||||||||||
| with: ${{ matrix.dependencies || fromJSON('{}') }} | ||||||||||||||||
|
Check failure on line 144 in .github/workflows/ci.yaml
|
||||||||||||||||
|
|
||||||||||||||||
| - uses: dtolnay/rust-toolchain@stable | ||||||||||||||||
| with: | ||||||||||||||||
|
|
@@ -321,7 +321,7 @@ | |||||||||||||||
|
|
||||||||||||||||
| - name: run cpython tests to check if env polluters have stopped polluting | ||||||||||||||||
| shell: bash | ||||||||||||||||
| run: | | ||||||||||||||||
|
Check warning on line 324 in .github/workflows/ci.yaml
|
||||||||||||||||
| for thing in ${{ join(matrix.env_polluting_tests, ' ') }}; do | ||||||||||||||||
| for i in $(seq 1 10); do | ||||||||||||||||
| set +e | ||||||||||||||||
|
|
@@ -411,7 +411,9 @@ | |||||||||||||||
| - run: ruff format --check | ||||||||||||||||
|
|
||||||||||||||||
| - name: install prettier | ||||||||||||||||
| run: yarn global add prettier && echo "$(yarn global bin)" >>$GITHUB_PATH | ||||||||||||||||
| run: | | ||||||||||||||||
|
Check warning on line 414 in .github/workflows/ci.yaml
|
||||||||||||||||
| yarn global add prettier | ||||||||||||||||
| yarn global bin >> $GITHUB_PATH | ||||||||||||||||
|
|
||||||||||||||||
| - name: check wasm code with prettier | ||||||||||||||||
| # prettier doesn't handle ignore files very well: https://github.com/prettier/prettier/issues/8506 | ||||||||||||||||
|
|
@@ -486,8 +488,8 @@ | |||||||||||||||
| cache: "npm" | ||||||||||||||||
| cache-dependency-path: "wasm/demo/package-lock.json" | ||||||||||||||||
| - name: run test | ||||||||||||||||
| run: | | ||||||||||||||||
|
Check warning on line 491 in .github/workflows/ci.yaml
|
||||||||||||||||
| export PATH=$PATH:`pwd`/../../geckodriver | ||||||||||||||||
| export PATH="$PATH:$(pwd)/../../geckodriver" | ||||||||||||||||
| npm install | ||||||||||||||||
| npm run test | ||||||||||||||||
| env: | ||||||||||||||||
|
|
@@ -551,6 +553,6 @@ | |||||||||||||||
| - name: build rustpython | ||||||||||||||||
| run: cargo build --release --target wasm32-wasip1 --features freeze-stdlib,stdlib --verbose | ||||||||||||||||
| - name: run snippets | ||||||||||||||||
| run: wasmer run --dir `pwd` target/wasm32-wasip1/release/rustpython.wasm -- `pwd`/extra_tests/snippets/stdlib_random.py | ||||||||||||||||
| run: wasmer run --dir $(pwd) target/wasm32-wasip1/release/rustpython.wasm -- "$(pwd)/extra_tests/snippets/stdlib_random.py" | ||||||||||||||||
|
Check warning on line 556 in .github/workflows/ci.yaml
|
||||||||||||||||
| - name: run cpython unittest | ||||||||||||||||
| run: wasmer run --dir `pwd` target/wasm32-wasip1/release/rustpython.wasm -- `pwd`/Lib/test/test_int.py | ||||||||||||||||
| run: wasmer run --dir $(pwd) target/wasm32-wasip1/release/rustpython.wasm -- "$(pwd)/Lib/test/test_int.py" | ||||||||||||||||
|
Check warning on line 558 in .github/workflows/ci.yaml
|
||||||||||||||||
|
Comment on lines
+557
to
+559
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Quote The script path is properly quoted, but - name: run snippets
- run: wasmer run --dir $(pwd) target/wasm32-wasip1/release/rustpython.wasm -- "$(pwd)/extra_tests/snippets/stdlib_random.py"
+ run: wasmer run --dir "$(pwd)" target/wasm32-wasip1/release/rustpython.wasm -- "$(pwd)/extra_tests/snippets/stdlib_random.py"
- name: run cpython unittest
- run: wasmer run --dir $(pwd) target/wasm32-wasip1/release/rustpython.wasm -- "$(pwd)/Lib/test/test_int.py"
+ run: wasmer run --dir "$(pwd)" target/wasm32-wasip1/release/rustpython.wasm -- "$(pwd)/Lib/test/test_int.py"📝 Committable suggestion
Suggested change
🧰 Tools🪛 GitHub Actions: Format Check[warning] 556-556: actionlint (reviewdog) shellcheck reported issue: SC2046: Quote this to prevent word splitting (warning:1:18) [warning] 558-558: actionlint (reviewdog) shellcheck reported issue: SC2046: Quote this to prevent word splitting (warning:1:18) 🪛 GitHub Check: format_check[warning] 558-558: Raw Output: [warning] 556-556: Raw Output: 🤖 Prompt for AI Agents |
||||||||||||||||
Uh oh!
There was an error while loading. Please reload this page.