mirror of
https://github.com/edgelesssys/constellation.git
synced 2024-10-01 01:36:09 -04:00
ci: install shellcheck using the action
Signed-off-by: Paul Meyer <49727155+katexochen@users.noreply.github.com>
This commit is contained in:
parent
632090c21b
commit
8e18c7012c
10
.github/workflows/test-actionlint.yml
vendored
10
.github/workflows/test-actionlint.yml
vendored
@ -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
|
||||
|
2
.github/workflows/test-go-generate.yml
vendored
2
.github/workflows/test-go-generate.yml
vendored
@ -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
|
||||
|
||||
|
2
.github/workflows/test-tidy.yml
vendored
2
.github/workflows/test-tidy.yml
vendored
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user