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
22
33on :
44 pull_request :
55 branches :
66 - main
77
88jobs :
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 }}
1319 steps :
1420 - 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 }}
1625 - name : Install deps
1726 run : |
1827 nimble install -y
Original file line number Diff line number Diff line change 11# Package
22
3- version = " 0.2.3 "
3+ version = " 0.2.4 "
44author = " Hugo Granström"
55description = " Reveal.js theme for nimib"
66license = " MIT"
Original file line number Diff line number Diff line change @@ -411,6 +411,9 @@ proc toSet*(x: Slice[int]): set[range[0..65535]] =
411411proc toSet * (x: seq [Slice [int ]]): set [range [0 .. 65535 ]] =
412412 for s in x:
413413 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
414417
415418
416419template animateCode * (lines: string , body: untyped ) =
You can’t perform that action at this time.
0 commit comments