mirror of
https://github.com/logos-messaging/logos-messaging-nim.git
synced 2026-02-23 23:33:15 +00:00
install Nim and Nimble pinned in ci workflows
This commit is contained in:
parent
0b0a21cb6b
commit
a8497365b9
32
.github/workflows/ci.yml
vendored
32
.github/workflows/ci.yml
vendored
@ -63,12 +63,18 @@ jobs:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Install Nim 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 Nim (pinned)
|
||||
uses: iffy/install-nim@v5
|
||||
with:
|
||||
version: binary:2.2.6
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
- 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
|
||||
@ -112,6 +118,13 @@ jobs:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Install Nim (pinned)
|
||||
uses: iffy/install-nim@v5
|
||||
with:
|
||||
version: binary:2.2.6
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
- name: Install Nimble (pinned)
|
||||
uses: nim-lang/setup-nimble-action@v1
|
||||
with:
|
||||
@ -183,6 +196,13 @@ jobs:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Install Nim (pinned)
|
||||
uses: iffy/install-nim@v5
|
||||
with:
|
||||
version: binary:2.2.6
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
- name: Install Nimble (pinned)
|
||||
uses: nim-lang/setup-nimble-action@v1
|
||||
with:
|
||||
|
||||
7
.github/workflows/container-image.yml
vendored
7
.github/workflows/container-image.yml
vendored
@ -46,6 +46,13 @@ jobs:
|
||||
if: ${{ steps.secrets.outcome == 'success' }}
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Install Nim (pinned)
|
||||
uses: iffy/install-nim@v5
|
||||
with:
|
||||
version: binary:2.2.6
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
- name: Install Nimble (pinned)
|
||||
uses: nim-lang/setup-nimble-action@v1
|
||||
with:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user