haystack/.github/workflows/workflows_linting.yml
Stefano Fiorucci 8b08ba00fa
ci: use ubuntu-slim where makes sense (#10234)
* ci: use ubuntu-slim where makes sense

* revert some changes

* test more actions

* test sync docs too

* revert

* set go version
2025-12-12 14:57:32 +01:00

26 lines
512 B
YAML

name: Github workflows linter
on:
pull_request:
paths:
- ".github/workflows/**"
jobs:
lint-workflows:
runs-on: ubuntu-slim
steps:
- name: Checkout
uses: actions/checkout@v6
- uses: actions/setup-go@v6
with:
go-version: ">=1.24.0"
- name: Install actionlint
run: go install github.com/rhysd/actionlint/cmd/actionlint@latest
- name: Run actionlint
env:
SHELLCHECK_OPTS: --exclude=SC2102
run: actionlint