Bump actions/setup-node from 4.0.2 to 4.1.0 #156
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: "Infra: Workflow linter" | |
on: | |
pull_request: | |
types: ["opened", "reopened", "synchronize"] | |
paths: | |
- ".github/workflows/**" | |
permissions: | |
contents: read | |
jobs: | |
build-and-test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
ref: ${{ github.event.pull_request.head.sha }} | |
token: ${{ github.token }} | |
- name: Install yamllint | |
run: sudo apt install -y yamllint | |
- name: Validate workflow yaml files | |
run: yamllint .github/workflows/. -d relaxed -f github --no-warnings |