Skip to content

Commit 8010bf5

Browse files
ci: Add editorconfig-checker workflow for code quality checks
1 parent 51d82a3 commit 8010bf5

File tree

1 file changed

+41
-0
lines changed

1 file changed

+41
-0
lines changed
Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
---
2+
name: editorconfig-checker
3+
4+
run-name: Editorconfig-checker
5+
6+
on:
7+
pull_request:
8+
branches:
9+
- "main"
10+
11+
concurrency:
12+
group: ${{ github.ref }}-${{ github.workflow }}
13+
cancel-in-progress: true
14+
15+
jobs:
16+
skip_duplicate_actions:
17+
name: Skip Duplicate Actions
18+
runs-on: ubuntu-latest
19+
steps:
20+
- uses: fkirc/skip-duplicate-actions@master
21+
with:
22+
github_token: ${{ secrets.GITHUB_TOKEN }}
23+
cancel_others: true
24+
concurrent_skipping: never
25+
26+
editorconfig_checker:
27+
name: Editorconfig-checker
28+
runs-on: ubuntu-latest
29+
steps:
30+
- name: Checkout code
31+
uses: actions/checkout@v4
32+
with:
33+
fetch-depth: 0
34+
35+
- name: Call Dagger Function
36+
uses: dagger/dagger-for-github@v6
37+
with:
38+
args: check --source=. stdout
39+
module: github.com/softwaredevelop/daggerverse/editorconfig@main
40+
verb: call
41+
version: "latest"

0 commit comments

Comments
 (0)