diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index a0ed278..3a569d6 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -94,9 +94,29 @@ jobs: path: widgets_service_installer retention-days: 1 + actionlint: + name: GitHub Actions Workflows Lint + needs: createrole + runs-on: ubuntu-22.04 + + steps: + - name: Download artifact + uses: actions/download-artifact@v4 + with: + name: ansible-role-widgets_service_installer + path: ansible-role-widgets_service_installer + + - name: Set up linter + run: go install github.com/rhysd/actionlint/cmd/actionlint@latest + + - name: Lint workflows + run: | + cd ansible-role-widgets_service_installer + actionlint + yamllint: name: YAML Lint - needs: createrole + needs: actionlint runs-on: ubuntu-22.04 steps: