From a7a715e1f229b830ed31b802ec29db8aceb7741f Mon Sep 17 00:00:00 2001 From: Daniel Olshansky Date: Thu, 23 Jan 2025 14:35:07 -0500 Subject: [PATCH 1/4] Update v3 to v4 --- .github/workflows/label-actions.yml | 2 +- .github/workflows/main-build.yml | 6 +++--- .github/workflows/release-artifacts.yml | 6 +++--- .github/workflows/run-tests.yml | 2 +- .github/workflows/upload-pages-artifact.yml | 6 +++--- 5 files changed, 11 insertions(+), 11 deletions(-) diff --git a/.github/workflows/label-actions.yml b/.github/workflows/label-actions.yml index 2b85941dc..461b5aa20 100644 --- a/.github/workflows/label-actions.yml +++ b/.github/workflows/label-actions.yml @@ -18,5 +18,5 @@ jobs: action: runs-on: ubuntu-latest steps: - # TODO_TECHDEBT: switch to `dessant/label-actions@v3` when https://github.com/dessant/label-actions/pull/29 is merged. + # TODO_TECHDEBT: switch to `dessant/label-actions@v4` when https://github.com/dessant/label-actions/pull/29 is merged. - uses: okdas/label-actions@patch-1 diff --git a/.github/workflows/main-build.yml b/.github/workflows/main-build.yml index 8530c3d23..f557e5a97 100644 --- a/.github/workflows/main-build.yml +++ b/.github/workflows/main-build.yml @@ -13,7 +13,7 @@ jobs: build-push-container: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: fetch-depth: "0" # Per https://github.com/ignite/cli/issues/1674#issuecomment-1144619147 @@ -40,7 +40,7 @@ jobs: - name: Set up Docker Buildx if: (github.ref == 'refs/heads/main') || (contains(github.event.pull_request.labels.*.name, 'push-image')) || (contains(github.event.pull_request.labels.*.name, 'devnet-test-e2e')) - uses: docker/setup-buildx-action@v3 + uses: docker/setup-buildx-action@v4 - name: Docker Metadata action if: (github.ref == 'refs/heads/main') || (contains(github.event.pull_request.labels.*.name, 'push-image')) || (contains(github.event.pull_request.labels.*.name, 'devnet-test-e2e')) @@ -59,7 +59,7 @@ jobs: - name: Login to GitHub Container Registry if: (github.ref == 'refs/heads/main') || (contains(github.event.pull_request.labels.*.name, 'push-image')) || (contains(github.event.pull_request.labels.*.name, 'devnet-test-e2e')) - uses: docker/login-action@v3 + uses: docker/login-action@v4 with: registry: ghcr.io username: ${{ github.actor }} diff --git a/.github/workflows/release-artifacts.yml b/.github/workflows/release-artifacts.yml index 06ffee0fc..b517333ea 100644 --- a/.github/workflows/release-artifacts.yml +++ b/.github/workflows/release-artifacts.yml @@ -13,7 +13,7 @@ jobs: release-artifacts: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: fetch-depth: "0" # Per https://github.com/ignite/cli/issues/1674#issuecomment-1144619147 @@ -44,7 +44,7 @@ jobs: make cosmovisor_cross_compile - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v3 + uses: docker/setup-buildx-action@v4 - name: Docker Metadata action id: meta @@ -62,7 +62,7 @@ jobs: type=sha,format=long,suffix=-prod - name: Login to GitHub Container Registry - uses: docker/login-action@v3 + uses: docker/login-action@v4 with: registry: ghcr.io username: ${{ github.actor }} diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index 70d66edb9..454e59202 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -17,7 +17,7 @@ jobs: go-test: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: fetch-depth: "0" # Per https://github.com/ignite/cli/issues/1674#issuecomment-1144619147 diff --git a/.github/workflows/upload-pages-artifact.yml b/.github/workflows/upload-pages-artifact.yml index 6caa01401..a36d112ef 100644 --- a/.github/workflows/upload-pages-artifact.yml +++ b/.github/workflows/upload-pages-artifact.yml @@ -16,7 +16,7 @@ jobs: update-docs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: fetch-depth: "0" # Per https://github.com/ignite/cli/issues/1674#issuecomment-1144619147 @@ -32,7 +32,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Set up Node.js uses: actions/setup-node@v4 @@ -63,7 +63,7 @@ jobs: pages: write steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Set up Node.js uses: actions/setup-node@v4 From d5b3cd93b4be9b4bceb2d47d9ea41f894e89eb91 Mon Sep 17 00:00:00 2001 From: Dmitry K Date: Thu, 23 Jan 2025 12:15:09 -0800 Subject: [PATCH 2/4] bump actions/upload-pages-artifact --- .github/workflows/upload-pages-artifact.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/upload-pages-artifact.yml b/.github/workflows/upload-pages-artifact.yml index a36d112ef..8b7a79398 100644 --- a/.github/workflows/upload-pages-artifact.yml +++ b/.github/workflows/upload-pages-artifact.yml @@ -88,7 +88,7 @@ jobs: enablement: true - name: Upload artifact - uses: actions/upload-pages-artifact@v2 + uses: actions/upload-pages-artifact@v3 with: path: docusaurus/build From 565b31fbaa8e304f91e2037de8d397acbb9c2bef Mon Sep 17 00:00:00 2001 From: Dmitry K Date: Thu, 23 Jan 2025 12:18:35 -0800 Subject: [PATCH 3/4] bump those too --- .github/workflows/release-artifacts.yml | 2 +- .github/workflows/upload-pages-artifact.yml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release-artifacts.yml b/.github/workflows/release-artifacts.yml index b517333ea..a30630f73 100644 --- a/.github/workflows/release-artifacts.yml +++ b/.github/workflows/release-artifacts.yml @@ -82,7 +82,7 @@ jobs: # TODO_TECHDEBT(@okdas): use for releases (also change the "on" part at the top so it only tgirrered for tags/releases) - name: Add release and publish binaries - uses: softprops/action-gh-release@v1 + uses: softprops/action-gh-release@v2 with: files: | release/* diff --git a/.github/workflows/upload-pages-artifact.yml b/.github/workflows/upload-pages-artifact.yml index 8b7a79398..503b42123 100644 --- a/.github/workflows/upload-pages-artifact.yml +++ b/.github/workflows/upload-pages-artifact.yml @@ -83,7 +83,7 @@ jobs: yarn build - name: Setup Pages - uses: actions/configure-pages@v4 + uses: actions/configure-pages@v5 with: enablement: true @@ -94,4 +94,4 @@ jobs: - name: Deploy to GitHub Pages id: deployment - uses: actions/deploy-pages@v2 + uses: actions/deploy-pages@v4 From 6757d5bd1d94b87b242a682adb7217bc5433ffdf Mon Sep 17 00:00:00 2001 From: "Dima K." Date: Thu, 23 Jan 2025 12:19:52 -0800 Subject: [PATCH 4/4] Apply suggestions from code review --- .github/workflows/label-actions.yml | 2 +- .github/workflows/main-build.yml | 4 ++-- .github/workflows/release-artifacts.yml | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/label-actions.yml b/.github/workflows/label-actions.yml index 461b5aa20..2b85941dc 100644 --- a/.github/workflows/label-actions.yml +++ b/.github/workflows/label-actions.yml @@ -18,5 +18,5 @@ jobs: action: runs-on: ubuntu-latest steps: - # TODO_TECHDEBT: switch to `dessant/label-actions@v4` when https://github.com/dessant/label-actions/pull/29 is merged. + # TODO_TECHDEBT: switch to `dessant/label-actions@v3` when https://github.com/dessant/label-actions/pull/29 is merged. - uses: okdas/label-actions@patch-1 diff --git a/.github/workflows/main-build.yml b/.github/workflows/main-build.yml index f557e5a97..f9b3d03d7 100644 --- a/.github/workflows/main-build.yml +++ b/.github/workflows/main-build.yml @@ -40,7 +40,7 @@ jobs: - name: Set up Docker Buildx if: (github.ref == 'refs/heads/main') || (contains(github.event.pull_request.labels.*.name, 'push-image')) || (contains(github.event.pull_request.labels.*.name, 'devnet-test-e2e')) - uses: docker/setup-buildx-action@v4 + uses: docker/setup-buildx-action@v3 - name: Docker Metadata action if: (github.ref == 'refs/heads/main') || (contains(github.event.pull_request.labels.*.name, 'push-image')) || (contains(github.event.pull_request.labels.*.name, 'devnet-test-e2e')) @@ -59,7 +59,7 @@ jobs: - name: Login to GitHub Container Registry if: (github.ref == 'refs/heads/main') || (contains(github.event.pull_request.labels.*.name, 'push-image')) || (contains(github.event.pull_request.labels.*.name, 'devnet-test-e2e')) - uses: docker/login-action@v4 + uses: docker/login-action@v3 with: registry: ghcr.io username: ${{ github.actor }} diff --git a/.github/workflows/release-artifacts.yml b/.github/workflows/release-artifacts.yml index a30630f73..5fb703abc 100644 --- a/.github/workflows/release-artifacts.yml +++ b/.github/workflows/release-artifacts.yml @@ -44,7 +44,7 @@ jobs: make cosmovisor_cross_compile - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v4 + uses: docker/setup-buildx-action@v3 - name: Docker Metadata action id: meta