Skip to content

Commit fc7daac

Browse files
committed
Add CI for test
1 parent f188761 commit fc7daac

File tree

1 file changed

+14
-3
lines changed

1 file changed

+14
-3
lines changed

.github/workflows/ci.yml

+14-3
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,16 @@ on:
1212

1313
jobs:
1414
lint:
15-
name: Run dub-lint
15+
name: Run `dub lint`
16+
runs-on: ubuntu-latest
17+
steps:
18+
- uses: actions/checkout@v4
19+
- uses: dlang-community/setup-dlang@v1
20+
- name: Run lint
21+
run: dub lint
22+
23+
test:
24+
name: Run `dub test`
1625
strategy:
1726
matrix:
1827
dc: [dmd-latest, ldc-latest]
@@ -22,5 +31,7 @@ jobs:
2231
- uses: dlang-community/setup-dlang@v1
2332
with:
2433
compiler: ${{ matrix.dc }}
25-
- name: Run lint
26-
run: dub lint
34+
- name: setup `wasm-tools`
35+
uses: bytecodealliance/actions/wasm-tools/setup@v1
36+
- name: Run test
37+
run: dub test

0 commit comments

Comments
 (0)