diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 3147d59..a5c4774 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -25,9 +25,22 @@ jobs: - uses: actions/checkout@v2 with: submodules: true + - uses: iffy/install-nim@v4 with: version: ${{ matrix.nim }} + + - name: Update nimble + run: | + nimble install nimble + nimble --version + + - name: Use updated nimble version on Windows + if: contains(matrix.os, 'windows') + run: | + del $HOME\.nimble\bin\nimble.exe + nimble --version + - name: Build run: nimble build -y - name: Test diff --git a/docker/crawler.Dockerfile b/docker/crawler.Dockerfile index 3811fcf..455dfbc 100644 --- a/docker/crawler.Dockerfile +++ b/docker/crawler.Dockerfile @@ -19,6 +19,7 @@ RUN apt-get update && apt-get install -y cmake build-essential WORKDIR ${BUILD_HOME} COPY . . +RUN nimble install nimble RUN nimble build # Create