File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11name : Build docs
22
33on :
4- push :
5- branches :
6- - master
7- path-ignore :
8- - ' README.md'
94 release :
105 types : [published]
116
127jobs :
138 build :
14- if : " ! contains(toJSON(github.event.commits.*.message), '[skip-docs]')"
15- strategy :
16- matrix :
17- nim : ['1.4.0', 'stable']
18- os : [ubuntu-latest, windows-latest]
19- runs-on : ${{ matrix.os }}
9+ runs-on : ubuntu-latest
2010 steps :
2111 - uses : actions/checkout@v2
2212
23- - name : Cache nimble
24- id : cache-nimble
25- uses : actions/cache@v1
26- with :
27- path : ~/.nimble
28- key : ${{ runner.os }}-nimble-${{ hashFiles('*.nimble') }}
29- if : runner.os != 'Windows'
30-
3113 - name : Set up Nim
3214 uses : jiro4989/setup-nim-action@v1
3315 with :
34- nim-version : ${{ matrix.nim }}
35-
36- - name : Install dependencies
37- run : nimble install -d -y
38-
39- - name : Run tests
40- run : nimble test
16+ nim-version : stable
4117
4218 - name : Build docs
4319 run : nimble docs
Original file line number Diff line number Diff line change 11name : Run tests
22
33on :
4+ push :
5+ branches :
6+ - master
7+ path-ignore :
8+ - ' README.md'
49 pull_request :
510 branches :
611 - master
712 path-ignore :
813 - ' README.md'
9-
1014 release :
1115 types : [published]
1216
You can’t perform that action at this time.
0 commit comments