mirror of
https://github.com/deepset-ai/haystack.git
synced 2025-11-10 14:54:10 +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:
|
||||
pull_request:
|
||||
paths:
|
||||
- ".github/workflows"
|
||||
- ".github/workflows/**"
|
||||
|
||||
jobs:
|
||||
lint-workflows:
|
||||
@ -12,8 +12,12 @@ jobs:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- uses: actions/setup-go@v5
|
||||
|
||||
- name: Install actionlint
|
||||
run: go install github.com/rhysd/actionlint/cmd/actionlint@latest
|
||||
|
||||
- name: Run actionlint
|
||||
env:
|
||||
SHELLCHECK_OPTS: --exclude=SC2102
|
||||
run: actionlint
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user