mirror of
https://github.com/deepset-ai/haystack.git
synced 2025-11-13 00:23:46 +00:00
ci: Fix workflows_linting.yml never running (#7941)
* Fix workflows_linting.yml never running * Add setup-go step * Ignore SC2102 rule
This commit is contained in:
parent
5b9e989f9a
commit
a86bf963a0
6
.github/workflows/workflows_linting.yml
vendored
6
.github/workflows/workflows_linting.yml
vendored
@ -3,7 +3,7 @@ name: Github workflows linter
|
|||||||
on:
|
on:
|
||||||
pull_request:
|
pull_request:
|
||||||
paths:
|
paths:
|
||||||
- ".github/workflows"
|
- ".github/workflows/**"
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
lint-workflows:
|
lint-workflows:
|
||||||
@ -12,8 +12,12 @@ jobs:
|
|||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
|
- uses: actions/setup-go@v5
|
||||||
|
|
||||||
- name: Install actionlint
|
- name: Install actionlint
|
||||||
run: go install github.com/rhysd/actionlint/cmd/actionlint@latest
|
run: go install github.com/rhysd/actionlint/cmd/actionlint@latest
|
||||||
|
|
||||||
- name: Run actionlint
|
- name: Run actionlint
|
||||||
|
env:
|
||||||
|
SHELLCHECK_OPTS: --exclude=SC2102
|
||||||
run: actionlint
|
run: actionlint
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user