Skip to content

Commit

Permalink
ci: Add actionlint workflow for code quality checks
Browse files Browse the repository at this point in the history
  • Loading branch information
softwaredevelop committed Aug 14, 2024
1 parent 8200e7d commit 652fc04
Showing 1 changed file with 44 additions and 0 deletions.
44 changes: 44 additions & 0 deletions .github/workflows/actionlint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
---
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: Call Dagger Function
uses: dagger/dagger-for-github@v6
with:
args: check --source=. stdout
module: github.com/softwaredevelop/daggerverse/actionlint@main
verb: call
version: "latest"
workdir: .github/workflows

0 comments on commit 652fc04

Please sign in to comment.