Skip to content

Commit

Permalink
ci: install shellcheck using the action
Browse files Browse the repository at this point in the history
Signed-off-by: Paul Meyer <[email protected]>
  • Loading branch information
katexochen committed Jan 18, 2023
1 parent 632090c commit 8e18c70
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/test-actionlint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ on:
- ".github/**.yml"

jobs:
integration-test:
actionlint:
runs-on: ubuntu-22.04
steps:
- name: Checkout
Expand All @@ -27,10 +27,10 @@ jobs:
go-version: "1.19.5"
cache: true

- name: Install shellcheck
run: |
sudo apt-get update
sudo apt-get install -y shellcheck
- name: Install ShellCheck
uses: ludeeus/action-shellcheck@6d3f514f44620b9d4488e380339edc0d9bbe2fba # master
with:
ignore_paths: "*"

- name: Install Actionlint
shell: bash
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test-go-generate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ jobs:
run: |
mods="${{ steps.submods.outputs.submods }}"
for mod in $mods; do
go generate $mod/...
go generate "$mod/..."
done
git diff --exit-code
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test-tidy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ jobs:
run: |
mods="${{ steps.submods.outputs.submods }}"
for mod in $mods; do
(cd $mod; go mod tidy)
(cd "$mod"; go mod tidy)
done
- name: Push changes
Expand Down

0 comments on commit 8e18c70

Please sign in to comment.