Skip to content

Commit f188761

Browse files
committed
Add CI for lint
1 parent 1d92f79 commit f188761

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

.github/workflows/ci.yml

+26
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
on:
2+
pull_request:
3+
paths-ignore:
4+
- "*.md"
5+
- ".gitignore"
6+
push:
7+
branches:
8+
- "main"
9+
paths-ignore:
10+
- "*.md"
11+
- ".gitignore"
12+
13+
jobs:
14+
lint:
15+
name: Run dub-lint
16+
strategy:
17+
matrix:
18+
dc: [dmd-latest, ldc-latest]
19+
runs-on: ubuntu-latest
20+
steps:
21+
- uses: actions/checkout@v4
22+
- uses: dlang-community/setup-dlang@v1
23+
with:
24+
compiler: ${{ matrix.dc }}
25+
- name: Run lint
26+
run: dub lint

0 commit comments

Comments
 (0)