mirror of
https://github.com/deepset-ai/haystack.git
synced 2025-12-31 09:10:15 +00:00
* Add actionlint pre-commit hook * Add workflow to lint workflows * Remove unused input in Python Cache action * Move from deprecated set-output syntax to new one * Add actionlint config to specify self-hosted runners labels
20 lines
372 B
YAML
20 lines
372 B
YAML
name: Github workflows linter
|
|
|
|
on:
|
|
pull_request:
|
|
paths:
|
|
- ".github/workflows"
|
|
|
|
jobs:
|
|
lint-workflows:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v3
|
|
|
|
- name: Install actionlint
|
|
run: go install github.com/rhysd/actionlint/cmd/actionlint@latest
|
|
|
|
- name: Run actionlint
|
|
run: actionlint
|