Skip to content

Commit 38eb0a6

Browse files
committed
test.yml: use a constant list instead of fromJSON
This was pointed out by zizmor, the GHA linter.
1 parent a422646 commit 38eb0a6

File tree

1 file changed

+1
-19
lines changed

1 file changed

+1
-19
lines changed

.github/workflows/test.yml

Lines changed: 1 addition & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -240,25 +240,7 @@ jobs:
240240
tox_env: "doctesting"
241241
use_coverage: true
242242

243-
continue-on-error: >-
244-
${{
245-
contains(
246-
fromJSON(
247-
'[
248-
"windows-py310-pluggy",
249-
"windows-py313",
250-
"ubuntu-py310-pluggy",
251-
"ubuntu-py310-freeze",
252-
"ubuntu-py313",
253-
"macos-py310",
254-
"macos-py313"
255-
]'
256-
),
257-
matrix.name
258-
)
259-
&& true
260-
|| false
261-
}}
243+
continue-on-error: ${{ contains(['windows-py310-pluggy','windows-py313','ubuntu-py310-pluggy','ubuntu-py310-freeze','ubuntu-py313','macos-py310','macos-py313'], matrix.name ) && true || false }}
262244

263245
steps:
264246
- uses: actions/checkout@v5

0 commit comments

Comments
 (0)