Skip to content

Commit 1f14aab

Browse files
authored
Merge pull request #21 from marcantoineg/fix/gha-workflow
2 parents 72cc8e0 + 8b23e6b commit 1f14aab

File tree

1 file changed

+10
-3
lines changed

1 file changed

+10
-3
lines changed

.github/workflows/workflow.yml

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,11 @@ jobs:
3434
uses: asdf-vm/actions/setup@v1
3535

3636
- name: Install bats-core
37-
run: brew install bats-core
37+
run: |
38+
sudo add-apt-repository universe
39+
sudo apt-get update
40+
sudo apt install bats
41+
3842
3943
- name: Test plugin
4044
run: |
@@ -51,7 +55,10 @@ jobs:
5155
uses: actions/checkout@v3
5256

5357
- name: Install ShellCheck
54-
run: brew install shellcheck
58+
run: |
59+
sudo add-apt-repository universe
60+
sudo apt-get update
61+
sudo apt install shellcheck
5562
5663
- name: Run ShellCheck
5764
run: make lint
@@ -64,7 +71,7 @@ jobs:
6471
uses: actions/checkout@v3
6572

6673
- name: Install shfmt
67-
run: brew install shfmt
74+
run: curl -sS https://webi.sh/shfmt | sh
6875

6976
- name: Run shfmt
7077
run: make fmt-check

0 commit comments

Comments
 (0)