From 9e61b8b67d57e906ef7e3de77cb4009e4bd55e19 Mon Sep 17 00:00:00 2001 From: Slava <20563034+veaceslavdoina@users.noreply.github.com> Date: Mon, 24 Mar 2025 18:14:11 +0200 Subject: [PATCH] fix: update nimble in ci and docker --- .github/workflows/main.yml | 13 +++++++++++++ docker/crawler.Dockerfile | 1 + 2 files changed, 14 insertions(+) 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