ci: install shellcheck using the action

Signed-off-by: Paul Meyer <49727155+katexochen@users.noreply.github.com>
This commit is contained in:
Paul Meyer 2023-01-18 15:22:20 +01:00
parent 632090c21b
commit 8e18c7012c
3 changed files with 7 additions and 7 deletions

View File

@ -13,7 +13,7 @@ on:
- ".github/**.yml"
jobs:
integration-test:
actionlint:
runs-on: ubuntu-22.04
steps:
- name: Checkout
@ -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

View File

@ -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

View File

@ -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