diff --git a/.github/workflows/CI_workflows_linting.yml b/.github/workflows/CI_workflows_linting.yml new file mode 100644 index 0000000000..7f19a515d8 --- /dev/null +++ b/.github/workflows/CI_workflows_linting.yml @@ -0,0 +1,23 @@ +name: Github workflows linter + +on: + pull_request: + paths: + - ".github/workflows/**" + +jobs: + lint-workflows: + runs-on: ubuntu-slim + steps: + - name: Checkout + uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 + + - uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6.4.0 + with: + go-version: ">=1.24.0" + + - name: Install actionlint + run: go install github.com/rhysd/actionlint/cmd/actionlint@latest + + - name: Run actionlint + run: actionlint -verbose \ No newline at end of file