Skip to content

Commit ce95e91

Browse files
authored
Merge pull request #1 from guzba/master
add github actions
2 parents d890b52 + 8916a0a commit ce95e91

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

.github/workflows/build.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: Run tests
2+
on: [push, pull_request]
3+
jobs:
4+
build:
5+
runs-on: ubuntu-latest
6+
7+
steps:
8+
- uses: actions/checkout@v1
9+
10+
- name: Cache choosenim
11+
id: cache-choosenim
12+
uses: actions/cache@v1
13+
with:
14+
path: ~/.choosenim
15+
key: ${{ runner.os }}-choosenim-stable
16+
17+
- name: Cache nimble
18+
id: cache-nimble
19+
uses: actions/cache@v1
20+
with:
21+
path: ~/.nimble
22+
key: ${{ runner.os }}-nimble-stable
23+
24+
- uses: jiro4989/setup-nim-action@v1
25+
26+
- run: nimble test -y

0 commit comments

Comments
 (0)