File tree Expand file tree Collapse file tree 3 files changed +19
-7
lines changed Expand file tree Collapse file tree 3 files changed +19
-7
lines changed Original file line number Diff line number Diff line change 1
- name : Generate nimiSlides docs
1
+ name : Tests
2
2
3
3
on :
4
4
pull_request :
5
5
branches :
6
6
- main
7
7
8
8
jobs :
9
- gen :
10
- name : Validate PR
11
- runs-on : ubuntu-latest
12
-
9
+ tests :
10
+ runs-on : ubuntu-latest
11
+ strategy :
12
+ matrix :
13
+ nim :
14
+ - ' 1.6.x'
15
+ - ' stable'
16
+ - ' devel'
17
+ fail-fast : false
18
+ name : Nim ${{ matrix.nim }}
13
19
steps :
14
20
- uses : actions/checkout@v2
15
- - uses : iffy/install-nim@v4
21
+ - uses : jiro4989/setup-nim-action@v1
22
+ with :
23
+ version : ${{ matrix.nim }}
24
+ repo-token : ${{ secrets.GITHUB_TOKEN }}
16
25
- name : Install deps
17
26
run : |
18
27
nimble install -y
Original file line number Diff line number Diff line change 1
1
# Package
2
2
3
- version = " 0.2.3 "
3
+ version = " 0.2.4 "
4
4
author = " Hugo Granström"
5
5
description = " Reveal.js theme for nimib"
6
6
license = " MIT"
Original file line number Diff line number Diff line change @@ -411,6 +411,9 @@ proc toSet*(x: Slice[int]): set[range[0..65535]] =
411
411
proc toSet* (x: seq [Slice[int ]]): set [range [0 .. 65535 ]] =
412
412
for s in x:
413
413
result .incl s.toSet()
414
+ proc toSet* (x: set [range [0 .. 255 ]]): set [range [0 .. 65535 ]] =
415
+ for y in x:
416
+ result .incl y
414
417
415
418
416
419
template animateCode* (lines: string , body: untyped ) =
You can’t perform that action at this time.
0 commit comments