We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e711de2 commit 721ab9fCopy full SHA for 721ab9f
1 file changed
.github/workflows/python-linting.yml
@@ -27,10 +27,12 @@ jobs:
27
steps:
28
- name: Set matrix
29
id: set-matrix
30
+ env:
31
+ VERSIONS: ${{ inputs.versions }}
32
run: |
- versions="${{ inputs.versions }}"
- echo "Version Input :: $versions"
33
- matrix=$(echo "$versions" | tr "," "\n" | awk '{print "\""$1"\""}' | paste -sd "," -)
+ set -e
34
+ echo "Version Input :: $VERSIONS"
35
+ matrix=$(echo "$VERSIONS" | tr "," "\n" | awk '{print "\""$1"\""}' | paste -sd "," -)
36
echo "matrix :: [$matrix]"
37
echo "matrix=[$matrix]" >> "$GITHUB_OUTPUT"
38
@@ -71,9 +73,10 @@ jobs:
71
73
fi
72
74
75
- name: Run linting
76
77
+ TOOL: ${{ inputs.tool }}
78
79
set -e
- TOOL="${{ inputs.tool }}"
80
if [[ "$TOOL" == "ruff" ]]; then
81
pip install ruff
82
ruff check
0 commit comments