Skip to content

Commit 42b43dc

Browse files
committed
Remove sudo, it should be unnecessary
1 parent 62f27ca commit 42b43dc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -96,8 +96,8 @@ jobs:
9696
- name: Install shfmt
9797
if: matrix.kind == 'shfmt'
9898
run: |
99-
sudo curl -sSfL "https://github.com/mvdan/sh/releases/download/v${{ matrix.shfmt-version }}/shfmt_v${{ matrix.shfmt-version }}_linux_amd64" -o /usr/local/bin/shfmt
100-
sudo chmod +x /usr/local/bin/shfmt
99+
curl -sSfL "https://github.com/mvdan/sh/releases/download/v${{ matrix.shfmt-version }}/shfmt_v${{ matrix.shfmt-version }}_linux_amd64" -o /usr/local/bin/shfmt
100+
chmod +x /usr/local/bin/shfmt
101101
102102
- name: Test shfmt
103103
if: matrix.kind == 'shfmt'

0 commit comments

Comments
 (0)