From 6a2abcd3419fe6a418b3a18bd4e266c1726581bb Mon Sep 17 00:00:00 2001 From: mishamyrt Date: Tue, 5 Mar 2024 01:45:47 +0300 Subject: [PATCH] ci: update CI to node 20 --- .github/workflows/build.yaml | 12 ++++++------ .github/workflows/linux-builder.yaml | 6 +++--- .github/workflows/quality-assurance.yaml | 6 +++--- .github/workflows/release.yaml | 6 +++--- 4 files changed, 15 insertions(+), 15 deletions(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 8be712ab..c7cc0394 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -30,14 +30,14 @@ jobs: runs-on: ${{ matrix.os }} steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Setup Go - uses: actions/setup-go@v4 + uses: actions/setup-go@v5 with: go-version: ${{ env.GO_VERSION }} cache-dependency-path: go.sum - name: Setup pnpm - uses: pnpm/action-setup@v2 + uses: pnpm/action-setup@v3 with: run_install: | cwd: frontend/ @@ -45,7 +45,7 @@ jobs: version: ${{ env.PNPM_VERSION }} - name: Setup QEMU if: inputs.linux-arm64 && runner.os == 'Linux' - uses: docker/setup-qemu-action@v2 + uses: docker/setup-qemu-action@v3 - name: Setup Linux deps if: runner.os == 'Linux' run: | @@ -74,7 +74,7 @@ jobs: run: make build/darwin - name: Import certificate if: runner.os == 'macOS' - uses: apple-actions/import-codesign-certs@v2 + uses: mishamyrt/import-codesign-certs@v2 with: p12-file-base64: ${{ secrets.APPLE_CERT_DATA }} p12-password: ${{ secrets.APPLE_CERT_PASSWORD }} @@ -102,7 +102,7 @@ jobs: "$KEYCHAIN_PROFILE" ./scripts/workflows/notarize-mac.sh dist/Nuga*.zip - name: Upload binary - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: ${{ runner.os }}-dist path: ./dist diff --git a/.github/workflows/linux-builder.yaml b/.github/workflows/linux-builder.yaml index 08d7269c..c4967e03 100644 --- a/.github/workflows/linux-builder.yaml +++ b/.github/workflows/linux-builder.yaml @@ -17,7 +17,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Set up Docker BuildX uses: docker/setup-buildx-action@v2 - name: Login to Docker Hub @@ -34,7 +34,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Login to Docker Hub uses: docker/login-action@v2 with: @@ -49,7 +49,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Login to Docker Hub uses: docker/login-action@v2 with: diff --git a/.github/workflows/quality-assurance.yaml b/.github/workflows/quality-assurance.yaml index ca90901d..67bb5bc6 100644 --- a/.github/workflows/quality-assurance.yaml +++ b/.github/workflows/quality-assurance.yaml @@ -14,13 +14,13 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Setup Go - uses: actions/setup-go@v4 + uses: actions/setup-go@v5 with: go-version: ${{ env.GO_VERSION }} cache-dependency-path: go.sum - - uses: pnpm/action-setup@v2 + - uses: pnpm/action-setup@v3 with: version: ${{ env.PNPM_VERSION }} - name: Install C/C++ deps diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 1407006e..93273f3a 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -20,7 +20,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Set envs if: github.event_name == 'push' run: | @@ -29,12 +29,12 @@ jobs: echo "IS_STABLE_VERSION=$(node scripts/workflows/is-stable.mjs $RELEASE_VERSION)" >> $GITHUB_ENV echo "VERSION_DISPLAY=${RELEASE_VERSION:1}" >> $GITHUB_ENV - name: Download Linux build - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: Linux-dist path: dist/ - name: Download macOS build - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: macOS-dist path: dist/