File tree Expand file tree Collapse file tree 2 files changed +8
-8
lines changed Expand file tree Collapse file tree 2 files changed +8
-8
lines changed Original file line number Diff line number Diff line change 22
33name : CI
44
5- # Controls when the action will run.
5+ # Controls when the action will run.
66on :
77 # Triggers the workflow on push or pull request events but only for the master branch
88 push :
@@ -21,13 +21,13 @@ jobs:
2121 matrix :
2222 firefox : [ '73.0' ]
2323 include :
24- - nim-version : ' stable '
24+ - nim-version : ' 1.6.0 '
2525 cache-key : ' stable'
2626 steps :
2727 - uses : actions/checkout@v2
2828 - name : Checkout submodules
2929 run : git submodule update --init --recursive
30-
30+
3131 - name : Setup firefox
3232 uses : browser-actions/setup-firefox@latest
3333 with :
@@ -37,13 +37,13 @@ jobs:
3737 id : get-date
3838 run : echo "::set-output name=date::$(date "+%Y-%m-%d")"
3939 shell : bash
40-
40+
4141 - name : Cache choosenim
4242 uses : actions/cache@v2
4343 with :
4444 path : ~/.choosenim
4545 key : ${{ runner.os }}-choosenim-${{ matrix.cache-key }}
46-
46+
4747 - name : Cache nimble
4848 uses : actions/cache@v2
4949 with :
@@ -58,15 +58,15 @@ jobs:
5858 mkdir geckodriver
5959 tar -xzf geckodriver-v0.29.1-linux64.tar.gz -C geckodriver
6060 export PATH=$PATH:$PWD/geckodriver
61-
61+
6262 - name : Install choosenim
6363 run : |
6464 export CHOOSENIM_CHOOSE_VERSION="${{ matrix.nim-version }}"
6565 curl https://nim-lang.org/choosenim/init.sh -sSf > init.sh
6666 sh init.sh -y
6767 export PATH=$HOME/.nimble/bin:$PATH
6868 nimble refresh -y
69-
69+
7070 - name : Run tests
7171 run : |
7272 export PATH=$HOME/.nimble/bin:$PATH
Original file line number Diff line number Diff line change @@ -276,7 +276,7 @@ template createTFD() =
276276 new (c)
277277 init (c)
278278 c.req = request
279- if request. cookies.len > 0 :
279+ if cookies (request) .len > 0 :
280280 checkLoggedIn (c)
281281
282282#[ DB functions. TODO: Move to another module? ]#
You can’t perform that action at this time.
0 commit comments