From ac6940eab86ee8f440622bdf1d3f34095057e54c Mon Sep 17 00:00:00 2001 From: Ivan FB Date: Wed, 29 Apr 2026 15:33:25 +0200 Subject: [PATCH] enrich possible nim compiler versions in ci --- .github/workflows/ci.yml | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b9694c7..fba3577 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -6,12 +6,17 @@ on: pull_request: branches: [master, main] +env: + NIM_VERSION: '2.2.4' + NIMBLE_VERSION: '0.22.3' + jobs: test: strategy: fail-fast: false matrix: os: [ubuntu-22.04, macos-15, windows-latest] + nim-version: ['2.2.4', 'stable', 'devel'] runs-on: ${{ matrix.os }} name: ${{ matrix.os }} / Nim ${{ matrix.nim-version }} @@ -38,9 +43,12 @@ jobs: id: cache-nimbledeps uses: actions/cache@v4 with: - path: ~/.nimble - key: ${{ runner.os }}-nimble-${{ matrix.nim-version }}-${{ hashFiles('*.nimble') }} + path: | + nimbledeps/ + nimble.paths + key: ${{ runner.os }}-nimbledeps-${{ matrix.nim-version }}-${{ hashFiles('*.nimble') }} restore-keys: | + ${{ runner.os }}-nimbledeps-${{ matrix.nim-version }}- ${{ runner.os }}-nimbledeps- - name: Install nimble deps