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"
|
- ".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
|
||||||
|
2
.github/workflows/test-go-generate.yml
vendored
2
.github/workflows/test-go-generate.yml
vendored
@ -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
|
||||||
|
|
||||||
|
2
.github/workflows/test-tidy.yml
vendored
2
.github/workflows/test-tidy.yml
vendored
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user