Skip to content

Commit eaf2a67

Browse files
Enhance lint workflow with actionlint.yml download
1 parent df47363 commit eaf2a67

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

.github/workflows/__call-common-lint.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,11 +125,13 @@ jobs:
125125
mkdir -p .github
126126
printf "%s\n" "${ACTIONLINT_CONFIG}" > .github/actionlint.yml
127127
elif [ ! -f ".github/actionlint.yml" ]; then
128+
url="https://raw.githubusercontent.com/LizardByte/.github/master/.github/actionlint.yml"
129+
echo "Downloading ${url} with curl"
128130
curl \
129131
-fsSL \
130132
--retry 3 \
131133
-o ".github/actionlint.yml" \
132-
"https://raw.githubusercontent.com/LizardByte/.github/master/.github/actionlint.yml"
134+
${url}
133135
fi
134136
135137
- name: Replace shell

0 commit comments

Comments
 (0)