install pinned nimble in ci workflows

This commit is contained in:
Ivan Folgueira Bande 2026-02-22 14:41:50 +01:00
parent 3afa09f75d
commit 0b0a21cb6b
No known key found for this signature in database
GPG Key ID: 3C117481F89E24A7
2 changed files with 15 additions and 18 deletions

View File

@ -112,12 +112,11 @@ jobs:
- name: Checkout code
uses: actions/checkout@v4
- name: Install Nimble via choosenim
run: |
curl https://nim-lang.org/choosenim/init.sh -sSf | sh -s -- -y
echo "$HOME/.nimble/bin" >> $GITHUB_PATH
nim --version
nimble --version
- name: Install Nimble (pinned)
uses: nim-lang/setup-nimble-action@v1
with:
nimble-version: '0.22.0'
repo-token: ${{ secrets.GITHUB_TOKEN }}
- name: Make update
run: make update
@ -184,12 +183,11 @@ jobs:
- name: Checkout code
uses: actions/checkout@v4
- name: Install Nimble via choosenim
run: |
curl https://nim-lang.org/choosenim/init.sh -sSf | sh -s -- -y
echo "$HOME/.nimble/bin" >> $GITHUB_PATH
nim --version
nimble --version
- name: Install Nimble (pinned)
uses: nim-lang/setup-nimble-action@v1
with:
nimble-version: '0.22.0'
repo-token: ${{ secrets.GITHUB_TOKEN }}
- name: Build nph
run: |

View File

@ -46,12 +46,11 @@ jobs:
if: ${{ steps.secrets.outcome == 'success' }}
uses: actions/checkout@v4
- name: Install Nimble via choosenim
run: |
curl https://nim-lang.org/choosenim/init.sh -sSf | sh -s -- -y
echo "$HOME/.nimble/bin" >> $GITHUB_PATH
nim --version
nimble --version
- name: Install Nimble (pinned)
uses: nim-lang/setup-nimble-action@v1
with:
nimble-version: '0.22.0'
repo-token: ${{ secrets.GITHUB_TOKEN }}
- name: Build binaries
id: build