From c1dcfc55f75195752e6b50f0d697b5d4c7ef6c87 Mon Sep 17 00:00:00 2001 From: darshankabariya Date: Mon, 2 Feb 2026 01:25:45 +0530 Subject: [PATCH] ci improvement - 2 --- .github/workflows/ci-daily.yml | 6 ++++++ .github/workflows/ci.yml | 18 ++++++++++++++++++ .github/workflows/container-image.yml | 7 +++++++ .github/workflows/release-assets.yml | 6 ++++++ .github/workflows/windows-build.yml | 6 ++++++ 5 files changed, 43 insertions(+) diff --git a/.github/workflows/ci-daily.yml b/.github/workflows/ci-daily.yml index f1a9c9b3b..42c8eacf9 100644 --- a/.github/workflows/ci-daily.yml +++ b/.github/workflows/ci-daily.yml @@ -23,6 +23,12 @@ jobs: - name: Checkout code uses: actions/checkout@v4 + - name: Setup Nimble + uses: nim-lang/setup-nimble-action@v1 + with: + nimble-version: '0.20.1' + repo-token: ${{ secrets.GITHUB_TOKEN }} + - name: Make update run: make update diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 9430c4d03..3f97af85e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -63,6 +63,12 @@ jobs: - name: Checkout code uses: actions/checkout@v4 + - name: Setup Nimble + uses: nim-lang/setup-nimble-action@v1 + with: + nimble-version: '0.20.1' + repo-token: ${{ secrets.GITHUB_TOKEN }} + - name: Make update run: make update @@ -91,6 +97,12 @@ jobs: - name: Checkout code uses: actions/checkout@v4 + - name: Setup Nimble + uses: nim-lang/setup-nimble-action@v1 + with: + nimble-version: '0.20.1' + repo-token: ${{ secrets.GITHUB_TOKEN }} + - name: Make update run: make update @@ -145,6 +157,12 @@ jobs: - name: Checkout code uses: actions/checkout@v4 + - name: Setup Nimble + uses: nim-lang/setup-nimble-action@v1 + with: + nimble-version: '0.20.1' + repo-token: ${{ secrets.GITHUB_TOKEN }} + - name: Build nph run: | make build-nph diff --git a/.github/workflows/container-image.yml b/.github/workflows/container-image.yml index 4d56d0ed3..f47f4e2f9 100644 --- a/.github/workflows/container-image.yml +++ b/.github/workflows/container-image.yml @@ -46,6 +46,13 @@ jobs: if: ${{ steps.secrets.outcome == 'success' }} uses: actions/checkout@v4 + - name: Setup Nimble + if: ${{ steps.secrets.outcome == 'success' }} + uses: nim-lang/setup-nimble-action@v1 + with: + nimble-version: '0.20.1' + repo-token: ${{ secrets.GITHUB_TOKEN }} + - name: Build binaries id: build if: ${{ steps.secrets.outcome == 'success' }} diff --git a/.github/workflows/release-assets.yml b/.github/workflows/release-assets.yml index 2aa85bb99..56e516745 100644 --- a/.github/workflows/release-assets.yml +++ b/.github/workflows/release-assets.yml @@ -58,6 +58,12 @@ jobs: sudo apt-get update && sudo apt-get install -y build-essential dpkg-dev fi + - name: Setup Nimble + uses: nim-lang/setup-nimble-action@v1 + with: + nimble-version: '0.20.1' + repo-token: ${{ secrets.GITHUB_TOKEN }} + - name: Build Waku artifacts run: | OS=$([[ "${{runner.os}}" == "macOS" ]] && echo "macosx" || echo "linux") diff --git a/.github/workflows/windows-build.yml b/.github/workflows/windows-build.yml index ae01ff55b..e0cbcfe07 100644 --- a/.github/workflows/windows-build.yml +++ b/.github/workflows/windows-build.yml @@ -59,6 +59,12 @@ jobs: - name: Creating tmp directory run: mkdir -p tmp + - name: Setup Nimble + uses: nim-lang/setup-nimble-action@v1 + with: + nimble-version: '0.20.1' + repo-token: ${{ secrets.GITHUB_TOKEN }} + - name: Make update (downloads dependencies via nimble) run: make update