Skip to content

Actionlint

Actionlint #21

Workflow file for this run

---
name: actionlint
run-name: Actionlint
on:
pull_request:
branches:
- "main"
paths:
- ".github/workflows/*.yml"
concurrency:
group: ${{ github.ref }}-${{ github.workflow }}
cancel-in-progress: true
jobs:
skip_duplicate_actions:
name: Skip Duplicate Actions
runs-on: ubuntu-latest
steps:
- uses: fkirc/skip-duplicate-actions@master
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
cancel_others: true
concurrent_skipping: never
actionlint:
name: Actionlint
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup Go latest
uses: actions/setup-go@v5
with:
go-version: stable
- name: Check workflow files
run: |
go install github.com/rhysd/actionlint/cmd/actionlint@latest
find . -type f -name '*.yml' -print0 | xargs -0 actionlint
working-directory: .github/workflows