Skip to content

Commit a9073f2

Browse files
committed
Github actions
1 parent fcadd94 commit a9073f2

File tree

1 file changed

+11
-20
lines changed

1 file changed

+11
-20
lines changed

.github/workflows/main.yml

Lines changed: 11 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -10,26 +10,17 @@ on:
1010

1111
jobs:
1212
build:
13-
runs-on: ${{ matrix.os }}
13+
runs-on: ubuntu-latest
1414
strategy:
1515
matrix:
16-
os:
17-
- ubuntu-latest
18-
version:
19-
- 1.6.14
20-
- stable
21-
16+
nim:
17+
- '1.6.14'
18+
- 'stable'
19+
name: Nim ${{ matrix.nim }} sample
2220
steps:
23-
- uses: actions/checkout@v1
24-
- uses: jiro4989/setup-nim-action@master
25-
with:
26-
nim-version: ${{ matrix.version }}
27-
28-
- name: Print Nim version
29-
run: nim -v
30-
31-
- name: Print Nimble version
32-
run: nimble -v
33-
34-
- name: Build binaries
35-
run: nimble test
21+
- uses: actions/checkout@v3
22+
- name: Setup nim
23+
uses: jiro4989/setup-nim-action@v1
24+
with:
25+
nim-version: ${{ matrix.nim }}
26+
- run: nimble test -Y

0 commit comments

Comments
 (0)