Skip to content

Commit 6b4315e

Browse files
style: fix lint warnings (#20)
1 parent eddc8fc commit 6b4315e

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,12 +31,11 @@ jobs:
3131
- name: Build matrix with action paths
3232
id: set-matrix
3333
run: |
34-
entries=()
3534
while IFS= read -r file; do
3635
action_dir=$(dirname "$file")
3736
jq --arg action "$action_dir" '.[] | . + {action: $action}' "$file"
3837
done < <(find . -name 'ci-matrix.json') | jq -s '.' > merged-matrix.json
39-
echo "matrix=$(cat merged-matrix.json | jq -c .)" >> $GITHUB_OUTPUT
38+
echo "matrix=$(jq -c . merged-matrix.json)" >> "${GITHUB_OUTPUT}"
4039
4140
test:
4241
name: ${{ matrix.name || format('{0} ({1}, {2})', matrix.action, matrix.runs-on, toJson(matrix.with)) }}
@@ -66,7 +65,7 @@ jobs:
6665
brew install gnu-sed
6766
fi
6867
HOMEBREW_PREFIX="${HOMEBREW_PREFIX:-/usr/local}" # set prefix if not set
69-
echo "$HOMEBREW_PREFIX/opt/gnu-sed/libexec/gnubin" >> $GITHUB_PATH
68+
echo "$HOMEBREW_PREFIX/opt/gnu-sed/libexec/gnubin" >> "${GITHUB_PATH}"
7069
7170
- name: Process variables in with parameters
7271
id: process-with
@@ -95,7 +94,7 @@ jobs:
9594
"with_params.json"
9695
9796
# Output the processed parameters
98-
echo "with-params=$(jq -c . with_params.json)" >> $GITHUB_OUTPUT
97+
echo "with-params=$(jq -c . with_params.json)" >> "${GITHUB_OUTPUT}"
9998
10099
- name: Debug matrix
101100
shell: bash

0 commit comments

Comments
 (0)