-
Notifications
You must be signed in to change notification settings - Fork 13
52 lines (48 loc) · 1.07 KB
/
action.yml
File metadata and controls
52 lines (48 loc) · 1.07 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
name: Test xlsx
on:
pull_request:
push:
branches:
- master
jobs:
test:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os:
- ubuntu-latest
#- macos-latest
steps:
- uses: actions/checkout@v5
- name: Cache choosenim
id: cache-choosenim
uses: actions/cache@v4
with:
path: ~/.choosenim
key: ${{ runner.os }}-choosenim-stable
- name: Cache nimble
id: cache-nimble
uses: actions/cache@v4
with:
path: ~/.nimble
key: ${{ runner.os }}-nimble-stable
- uses: jiro4989/setup-nim-action@master
- name: Install Packages
run: nimble install -y
- name: Test command
run: nimble test
test_version:
runs-on: ubuntu-latest
strategy:
matrix:
version:
- stable
steps:
- uses: actions/checkout@v5
- uses: jiro4989/setup-nim-action@master
with:
nim-version: ${{ matrix.version }}
- name: Install Packages
run: nimble install -y
- name: Test command
run: nimble test