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" - ".github/**.yml"
jobs: jobs:
integration-test: actionlint:
runs-on: ubuntu-22.04 runs-on: ubuntu-22.04
steps: steps:
- name: Checkout - name: Checkout
@ -27,10 +27,10 @@ jobs:
go-version: "1.19.5" go-version: "1.19.5"
cache: true cache: true
- name: Install shellcheck - name: Install ShellCheck
run: | uses: ludeeus/action-shellcheck@6d3f514f44620b9d4488e380339edc0d9bbe2fba # master
sudo apt-get update with:
sudo apt-get install -y shellcheck ignore_paths: "*"
- name: Install Actionlint - name: Install Actionlint
shell: bash shell: bash

View File

@ -49,7 +49,7 @@ jobs:
run: | run: |
mods="${{ steps.submods.outputs.submods }}" mods="${{ steps.submods.outputs.submods }}"
for mod in $mods; do for mod in $mods; do
go generate $mod/... go generate "$mod/..."
done done
git diff --exit-code git diff --exit-code

View File

@ -61,7 +61,7 @@ jobs:
run: | run: |
mods="${{ steps.submods.outputs.submods }}" mods="${{ steps.submods.outputs.submods }}"
for mod in $mods; do for mod in $mods; do
(cd $mod; go mod tidy) (cd "$mod"; go mod tidy)
done done
- name: Push changes - name: Push changes