Skip to content

Commit fbb9b28

Browse files
ci: Improve download and extraction of hlint
1 parent 5397695 commit fbb9b28

File tree

1 file changed

+9
-4
lines changed

1 file changed

+9
-4
lines changed

.github/workflows/lint.yml

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,15 @@ jobs:
1818

1919
- shell: bash
2020
run: |
21-
curl -fsS --location -o hlint.tar.gz \
22-
https://github.com/ndmitchell/hlint/releases/download/v3.8/hlint-3.8-x86_64-linux.tar.gz
23-
tar xvf hlint.tar.gz
24-
21+
curl \
22+
--fail \
23+
--location \
24+
--proto '=https' \
25+
--show-error \
26+
--silent \
27+
--tlsv1.2 \
28+
https://github.com/ndmitchell/hlint/releases/download/v3.8/hlint-3.8-x86_64-linux.tar.gz | \
29+
tar xzf - hlint-3.8/hlint
2530
./hlint-3.8/hlint grease{,-aarch32,-ppc,-x86}/src grease-cli/{main,src,tests}
2631
2732
- name: Spell check docs

0 commit comments

Comments
 (0)