diff --git a/.github/workflows/build-geo.yml b/.github/workflows/build-geo.yml index a497a4b85..881c184f4 100644 --- a/.github/workflows/build-geo.yml +++ b/.github/workflows/build-geo.yml @@ -12,13 +12,13 @@ jobs: IMAGE_NAME: ghcr.io/eukarya-inc/plateau-view-3.0/plateauview-geo:latest steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Set up QEMU - uses: docker/setup-qemu-action@v2 + uses: docker/setup-qemu-action@v3 - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v2 + uses: docker/setup-buildx-action@v3 - name: Build and load docker image - uses: docker/build-push-action@v3 + uses: docker/build-push-action@v5 with: context: ./geo platforms: linux/amd64 @@ -30,7 +30,7 @@ jobs: - name: Save docker image run: docker save ${{ env.IMAGE_NAME }} | gzip > plateauview-geo.tar.gz - name: Save image to artifact - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: plateauview-geo path: plateauview-geo.tar.gz diff --git a/.github/workflows/build-server.yml b/.github/workflows/build-server.yml index 709de4b9a..b073d88a1 100644 --- a/.github/workflows/build-server.yml +++ b/.github/workflows/build-server.yml @@ -13,14 +13,14 @@ jobs: IMAGE_NAME: ghcr.io/eukarya-inc/plateau-view-3.0/plateauview-api:latest steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Set up QEMU - uses: docker/setup-qemu-action@v2 + uses: docker/setup-qemu-action@v3 - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v2 + uses: docker/setup-buildx-action@v3 - name: Download extension artifact - uses: dawidd6/action-download-artifact@v2 + uses: dawidd6/action-download-artifact@v3 if: ${{ inputs.local != 'true' }} with: workflow_conclusion: "" @@ -30,14 +30,14 @@ jobs: check_artifacts: true search_artifacts: true - name: Download extension artifact from the previous job - uses: actions/download-artifact@v2 + uses: actions/download-artifact@v4 if: ${{ inputs.local == 'true' }} with: name: extension path: server - name: Build and load docker image - uses: docker/build-push-action@v3 + uses: docker/build-push-action@v5 with: context: ./server platforms: linux/amd64 @@ -49,7 +49,7 @@ jobs: - name: Save docker image run: docker save ${{ env.IMAGE_NAME }} | gzip > plateauview-api.tar.gz - name: Save imaged to artifact - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: plateauview-api path: plateauview-api.tar.gz diff --git a/.github/workflows/build-worker.yml b/.github/workflows/build-worker.yml index d730c2fdb..efd5c0873 100644 --- a/.github/workflows/build-worker.yml +++ b/.github/workflows/build-worker.yml @@ -9,13 +9,13 @@ jobs: IMAGE_NAME: ghcr.io/eukarya-inc/plateau-view-3.0/plateauview-api-worker:latest steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Set up QEMU - uses: docker/setup-qemu-action@v2 + uses: docker/setup-qemu-action@v3 - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v2 + uses: docker/setup-buildx-action@v3 - name: Build and load docker image - uses: docker/build-push-action@v3 + uses: docker/build-push-action@v5 with: context: ./worker platforms: linux/amd64 @@ -27,7 +27,7 @@ jobs: - name: Save docker image run: docker save ${{ env.IMAGE_NAME }} | gzip > plateauview-api-worker.tar.gz - name: Save image to artifact - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: plateauview-api-worker path: plateauview-api-worker.tar.gz diff --git a/.github/workflows/ci-extension-version-update.yml b/.github/workflows/ci-extension-version-update.yml index 850431a23..e12dc9ea4 100644 --- a/.github/workflows/ci-extension-version-update.yml +++ b/.github/workflows/ci-extension-version-update.yml @@ -19,7 +19,7 @@ jobs: git config --global user.email "${{ github.actor }}@users.noreply.github.com" git config --global pull.rebase false - name: Checkout code - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Update version id: version run: | diff --git a/.github/workflows/ci-extension.yml b/.github/workflows/ci-extension.yml index 34cf13225..b76b5465d 100644 --- a/.github/workflows/ci-extension.yml +++ b/.github/workflows/ci-extension.yml @@ -8,14 +8,14 @@ jobs: run: working-directory: extension steps: - - uses: actions/setup-node@v3 + - uses: actions/setup-node@v4 with: node-version: 18.x - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Get yarn cache directory path id: yarn-cache-dir-path run: echo "::set-output name=dir::$(yarn cache dir)" - - uses: actions/cache@v2 + - uses: actions/cache@v4 id: yarn-cache # use this to check for `cache-hit` (`steps.yarn-cache.outputs.cache-hit != 'true'`) with: path: ${{ steps.yarn-cache-dir-path.outputs.dir }} @@ -31,7 +31,7 @@ jobs: - name: Build run: yarn build - name: Upload artifacts - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: extension path: extension/dist/** diff --git a/.github/workflows/ci-geo.yml b/.github/workflows/ci-geo.yml index a86935b59..896edf603 100644 --- a/.github/workflows/ci-geo.yml +++ b/.github/workflows/ci-geo.yml @@ -9,14 +9,14 @@ jobs: run: working-directory: geo steps: - - uses: actions/checkout@v3 - - uses: actions/setup-node@v3 + - uses: actions/checkout@v4 + - uses: actions/setup-node@v4 with: node-version: lts/* - name: Get yarn cache directory path id: yarn-cache-dir-path run: echo "::set-output name=dir::$(yarn cache dir)" - - uses: actions/cache@v3 + - uses: actions/cache@v4 id: yarn-cache # use this to check for `cache-hit` (`steps.yarn-cache.outputs.cache-hit != 'true'`) with: path: ${{ steps.yarn-cache-dir-path.outputs.dir }} diff --git a/.github/workflows/ci-server.yml b/.github/workflows/ci-server.yml index 2e6023bfc..ce6e1bf40 100644 --- a/.github/workflows/ci-server.yml +++ b/.github/workflows/ci-server.yml @@ -7,13 +7,13 @@ jobs: ci-server-lint: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 - - uses: actions/setup-go@v4 + - uses: actions/checkout@v4 + - uses: actions/setup-go@v5 with: go-version: ${{ env.GO_VERSION }} cache: false - name: golangci-lint - uses: golangci/golangci-lint-action@v3 + uses: golangci/golangci-lint-action@v4 with: version: v1.54 working-directory: server @@ -21,8 +21,8 @@ jobs: ci-server-test: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 - - uses: actions/setup-go@v4 + - uses: actions/checkout@v4 + - uses: actions/setup-go@v5 with: go-version: ${{ env.GO_VERSION }} cache-dependency-path: server/go.sum diff --git a/.github/workflows/ci-tools.yml b/.github/workflows/ci-tools.yml index 7e1602fc6..d5850442c 100644 --- a/.github/workflows/ci-tools.yml +++ b/.github/workflows/ci-tools.yml @@ -8,7 +8,7 @@ jobs: ci-tools: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: dtolnay/rust-toolchain@stable with: components: clippy @@ -44,7 +44,7 @@ jobs: runs-on: ${{ matrix.platform.os }} steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: dtolnay/rust-toolchain@stable - uses: Swatinem/rust-cache@v2 with: @@ -57,7 +57,7 @@ jobs: strip: true working-directory: tools/plateau-view-tool - name: Upload artifacts - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: ${{ matrix.platform.name }} path: tools/plateau-view-tool/target/${{ matrix.platform.target }}/release/${{ matrix.platform.bin }} @@ -72,8 +72,8 @@ jobs: run: | git config --global user.name "${{ github.actor }}" git config --global user.email "${{ github.actor }}@users.noreply.github.com" - - uses: actions/checkout@v3 - - uses: actions/download-artifact@v3 + - uses: actions/checkout@v4 + - uses: actions/download-artifact@v4 with: path: tools-artifacts - name: Pack tools diff --git a/.github/workflows/ci-worker.yml b/.github/workflows/ci-worker.yml index be9dd6f8e..48ae07628 100644 --- a/.github/workflows/ci-worker.yml +++ b/.github/workflows/ci-worker.yml @@ -7,13 +7,13 @@ jobs: ci-worker-lint: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 - - uses: actions/setup-go@v4 + - uses: actions/checkout@v4 + - uses: actions/setup-go@v5 with: go-version: ${{ env.GO_VERSION }} cache: false - name: golangci-lint - uses: golangci/golangci-lint-action@v3 + uses: golangci/golangci-lint-action@v4 with: version: v1.54 working-directory: worker @@ -21,8 +21,8 @@ jobs: ci-worker-test: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 - - uses: actions/setup-go@v4 + - uses: actions/checkout@v4 + - uses: actions/setup-go@v5 with: go-version: ${{ env.GO_VERSION }} cache-dependency-path: worker/go.sum diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 605363901..258a5bcc6 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -29,12 +29,12 @@ jobs: worker: ${{ steps.worker.outputs.any_changed }} build: ${{ (github.event_name == 'push' || github.event_name == 'workflow_dispatch') && github.ref_name == 'main' }} steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: fetch-depth: 0 - name: changed files for extension id: extension - uses: tj-actions/changed-files@v36 + uses: tj-actions/changed-files@v43 with: files: | extension @@ -44,7 +44,7 @@ jobs: .github/workflows/deploy-extension-prod.yml - name: changed files for server id: server - uses: tj-actions/changed-files@v36 + uses: tj-actions/changed-files@v43 with: files: | server @@ -54,14 +54,14 @@ jobs: .github/workflows/deploy-server-prod.yml - name: changed files for tools id: tools - uses: tj-actions/changed-files@v36 + uses: tj-actions/changed-files@v43 with: files: | tools .github/workflows/ci-tools.yml - name: changed files for geo id: geo - uses: tj-actions/changed-files@v36 + uses: tj-actions/changed-files@v43 with: files: | geo @@ -71,7 +71,7 @@ jobs: .github/workflows/deploy-geo-prod.yml - name: changed files for tiles id: tiles - uses: tj-actions/changed-files@v36 + uses: tj-actions/changed-files@v43 with: files: | tiles @@ -81,7 +81,7 @@ jobs: .github/workflows/deploy-tiles-prod.yml - name: changed files for worker id: worker - uses: tj-actions/changed-files@v36 + uses: tj-actions/changed-files@v43 with: since_last_remote_commit: true files: | @@ -151,7 +151,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Dispatch deployment - uses: peter-evans/repository-dispatch@v2 + uses: peter-evans/repository-dispatch@v3 with: event-type: deploy-extension-dev @@ -166,7 +166,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Dispatch deployment - uses: peter-evans/repository-dispatch@v2 + uses: peter-evans/repository-dispatch@v3 with: event-type: deploy-geo-dev @@ -186,7 +186,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Dispatch deployment - uses: peter-evans/repository-dispatch@v2 + uses: peter-evans/repository-dispatch@v3 with: event-type: deploy-server-dev @@ -201,7 +201,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Dispatch deployment - uses: peter-evans/repository-dispatch@v2 + uses: peter-evans/repository-dispatch@v3 with: event-type: deploy-tiles-dev diff --git a/.github/workflows/deploy-cms-dev.yml b/.github/workflows/deploy-cms-dev.yml index b26ce9903..d2be435a1 100644 --- a/.github/workflows/deploy-cms-dev.yml +++ b/.github/workflows/deploy-cms-dev.yml @@ -31,7 +31,7 @@ jobs: - name: Set up Cloud SDK uses: google-github-actions/setup-gcloud@v2 - name: Download CMS web - uses: dawidd6/action-download-artifact@v2 + uses: dawidd6/action-download-artifact@v3 with: github_token: ${{ secrets.GPT }} repo: reearth/reearth-cms @@ -59,7 +59,7 @@ jobs: rm reearth-cms-web.tar.gz tar -zcvf reearth-cms-web.tar.gz reearth-cms-web - name: Save as artifact - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: reearth-cms-web path: reearth-cms-web.tar.gz @@ -80,7 +80,7 @@ jobs: - name: Configure docker run: gcloud auth configure-docker --quiet - name: Log in to GitHub Container Registry - uses: docker/login-action@v2 + uses: docker/login-action@v3 with: registry: ghcr.io username: ${{ github.actor }} diff --git a/.github/workflows/deploy-cms-prod.yml b/.github/workflows/deploy-cms-prod.yml index defc61cc7..15feae58f 100644 --- a/.github/workflows/deploy-cms-prod.yml +++ b/.github/workflows/deploy-cms-prod.yml @@ -35,7 +35,7 @@ jobs: - name: Set up Cloud SDK uses: google-github-actions/setup-gcloud@v2 - name: Download artifact - uses: dawidd6/action-download-artifact@v2 + uses: dawidd6/action-download-artifact@v3 with: github_token: ${{ secrets.GPT }} workflow: deploy-cms-dev.yml @@ -68,7 +68,7 @@ jobs: - name: Configure docker run: gcloud auth configure-docker --quiet - name: Log in to GitHub Container Registry - uses: docker/login-action@v2 + uses: docker/login-action@v3 with: registry: ghcr.io username: ${{ github.actor }} @@ -99,7 +99,7 @@ jobs: packages: read steps: - name: Log in to GitHub Container Registry - uses: docker/login-action@v2 + uses: docker/login-action@v3 with: registry: ghcr.io username: ${{ github.actor }} @@ -107,7 +107,7 @@ jobs: - name: Pull docker image run: docker pull $CMS_IMAGE_NAME_GHCR && docker pull $WORKER_IMAGE_NAME_GHCR - name: Log in to DockerHub - uses: docker/login-action@v2 + uses: docker/login-action@v3 with: username: ${{ secrets.DOCKERHUB_USER }} password: ${{ secrets.DOCKERHUB_PASSWORD }} diff --git a/.github/workflows/deploy-extension-dev.yml b/.github/workflows/deploy-extension-dev.yml index 5ea225751..fdb42287c 100644 --- a/.github/workflows/deploy-extension-dev.yml +++ b/.github/workflows/deploy-extension-dev.yml @@ -21,7 +21,7 @@ jobs: run: working-directory: extension steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: google-github-actions/auth@v2 with: workload_identity_provider: ${{ env.GCP_WORKLOAD_IDENTITY_PROVIDER }} @@ -31,7 +31,7 @@ jobs: - name: Get yarn cache directory path id: yarn-cache-dir-path run: echo "::set-output name=dir::$(yarn cache dir)" - - uses: actions/cache@v2 + - uses: actions/cache@v4 id: yarn-cache # use this to check for `cache-hit` (`steps.yarn-cache.outputs.cache-hit != 'true'`) with: path: ${{ steps.yarn-cache-dir-path.outputs.dir }} diff --git a/.github/workflows/deploy-extension-prod.yml b/.github/workflows/deploy-extension-prod.yml index 794aed9a7..3ea47319f 100644 --- a/.github/workflows/deploy-extension-prod.yml +++ b/.github/workflows/deploy-extension-prod.yml @@ -19,7 +19,7 @@ jobs: run: working-directory: extension steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: google-github-actions/auth@v2 with: workload_identity_provider: ${{ env.GCP_WORKLOAD_IDENTITY_PROVIDER }} @@ -29,7 +29,7 @@ jobs: - name: Get yarn cache directory path id: yarn-cache-dir-path run: echo "::set-output name=dir::$(yarn cache dir)" - - uses: actions/cache@v2 + - uses: actions/cache@v4 id: yarn-cache # use this to check for `cache-hit` (`steps.yarn-cache.outputs.cache-hit != 'true'`) with: path: ${{ steps.yarn-cache-dir-path.outputs.dir }} diff --git a/.github/workflows/deploy-geo-dev.yml b/.github/workflows/deploy-geo-dev.yml index a08cc4423..b258d1271 100644 --- a/.github/workflows/deploy-geo-dev.yml +++ b/.github/workflows/deploy-geo-dev.yml @@ -18,7 +18,7 @@ jobs: id-token: write packages: write steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: google-github-actions/auth@v2 with: workload_identity_provider: ${{ env.GCP_WORKLOAD_IDENTITY_PROVIDER }} @@ -28,13 +28,13 @@ jobs: - name: Configure docker run: gcloud auth configure-docker --quiet - name: Log in to GitHub Container Registry - uses: docker/login-action@v2 + uses: docker/login-action@v3 with: registry: ghcr.io username: ${{ github.actor }} password: ${{ secrets.GITHUB_TOKEN }} - name: Download geo artifacts - uses: dawidd6/action-download-artifact@v2 + uses: dawidd6/action-download-artifact@v3 with: github_token: ${{ secrets.GITHUB_TOKEN }} workflow: ci.yml diff --git a/.github/workflows/deploy-geo-prod.yml b/.github/workflows/deploy-geo-prod.yml index 9113aa9f9..a7ee4579f 100644 --- a/.github/workflows/deploy-geo-prod.yml +++ b/.github/workflows/deploy-geo-prod.yml @@ -17,7 +17,7 @@ jobs: id-token: write packages: read steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: google-github-actions/auth@v2 with: workload_identity_provider: ${{ env.GCP_WORKLOAD_IDENTITY_PROVIDER }} @@ -27,7 +27,7 @@ jobs: - name: Configure docker run: gcloud auth configure-docker --quiet - name: Log in to GitHub Container Registry - uses: docker/login-action@v2 + uses: docker/login-action@v3 with: registry: ghcr.io username: ${{ github.actor }} @@ -51,7 +51,7 @@ jobs: packages: read steps: - name: Log in to GitHub Container Registry - uses: docker/login-action@v2 + uses: docker/login-action@v3 with: registry: ghcr.io username: ${{ github.actor }} @@ -59,7 +59,7 @@ jobs: - name: Pull image run: docker pull $IMAGE - name: Log in to DockerHub - uses: docker/login-action@v2 + uses: docker/login-action@v3 with: username: ${{ secrets.DOCKERHUB_USER }} password: ${{ secrets.DOCKERHUB_PASSWORD }} diff --git a/.github/workflows/deploy-reearth-dev.yml b/.github/workflows/deploy-reearth-dev.yml index fd8846a68..71ce276b5 100644 --- a/.github/workflows/deploy-reearth-dev.yml +++ b/.github/workflows/deploy-reearth-dev.yml @@ -57,7 +57,7 @@ jobs: rm reearth-web.tar.gz tar -zcvf reearth-web.tar.gz reearth-web - name: Save as artifact - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: reearth-web path: reearth-web.tar.gz @@ -78,7 +78,7 @@ jobs: - name: Configure docker run: gcloud auth configure-docker --quiet - name: Log in to GitHub Container Registry - uses: docker/login-action@v2 + uses: docker/login-action@v3 with: registry: ghcr.io username: ${{ github.actor }} diff --git a/.github/workflows/deploy-reearth-prod.yml b/.github/workflows/deploy-reearth-prod.yml index 23b4a397a..f6490bca2 100644 --- a/.github/workflows/deploy-reearth-prod.yml +++ b/.github/workflows/deploy-reearth-prod.yml @@ -31,7 +31,7 @@ jobs: - name: Set up Cloud SDK uses: google-github-actions/setup-gcloud@v2 - name: Download artifact - uses: dawidd6/action-download-artifact@v2 + uses: dawidd6/action-download-artifact@v3 with: github_token: ${{ secrets.GPT }} workflow: deploy-reearth-dev.yml @@ -62,7 +62,7 @@ jobs: - name: Configure docker run: gcloud auth configure-docker --quiet - name: Log in to GitHub Container Registry - uses: docker/login-action@v2 + uses: docker/login-action@v3 with: registry: ghcr.io username: ${{ github.actor }} @@ -85,7 +85,7 @@ jobs: if: ${{ github.event.repository.full_name == 'eukarya-inc/PLATEAU-VIEW-3.0' }} steps: - name: Log in to GitHub Container Registry - uses: docker/login-action@v2 + uses: docker/login-action@v3 with: registry: ghcr.io username: ${{ github.actor }} @@ -93,7 +93,7 @@ jobs: - name: Pull image run: docker pull $IMAGE_NAME_GHCR - name: Log in to DockerHub - uses: docker/login-action@v2 + uses: docker/login-action@v3 with: username: ${{ secrets.DOCKERHUB_USER }} password: ${{ secrets.DOCKERHUB_PASSWORD }} diff --git a/.github/workflows/deploy-server-dev.yml b/.github/workflows/deploy-server-dev.yml index 63d23b4c6..dbaa7ede0 100644 --- a/.github/workflows/deploy-server-dev.yml +++ b/.github/workflows/deploy-server-dev.yml @@ -18,7 +18,7 @@ jobs: id-token: write packages: write steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: google-github-actions/auth@v2 with: workload_identity_provider: ${{ env.GCP_WORKLOAD_IDENTITY_PROVIDER }} @@ -28,13 +28,13 @@ jobs: - name: Configure docker run: gcloud auth configure-docker --quiet - name: Log in to GitHub Container Registry - uses: docker/login-action@v2 + uses: docker/login-action@v3 with: registry: ghcr.io username: ${{ github.actor }} password: ${{ secrets.GITHUB_TOKEN }} - name: Download server arfiacts - uses: dawidd6/action-download-artifact@v2 + uses: dawidd6/action-download-artifact@v3 with: github_token: ${{ secrets.GITHUB_TOKEN }} workflow: ci.yml diff --git a/.github/workflows/deploy-server-prod.yml b/.github/workflows/deploy-server-prod.yml index f1670cf29..b523d9271 100644 --- a/.github/workflows/deploy-server-prod.yml +++ b/.github/workflows/deploy-server-prod.yml @@ -17,7 +17,7 @@ jobs: id-token: write packages: read steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: google-github-actions/auth@v2 with: workload_identity_provider: ${{ env.GCP_WORKLOAD_IDENTITY_PROVIDER }} @@ -27,7 +27,7 @@ jobs: - name: Configure docker run: gcloud auth configure-docker --quiet - name: Log in to GitHub Container Registry - uses: docker/login-action@v2 + uses: docker/login-action@v3 with: registry: ghcr.io username: ${{ github.actor }} @@ -52,7 +52,7 @@ jobs: packages: read steps: - name: Log in to GitHub Container Registry - uses: docker/login-action@v2 + uses: docker/login-action@v3 with: registry: ghcr.io username: ${{ github.actor }} @@ -60,7 +60,7 @@ jobs: - name: Pull image run: docker pull $IMAGE - name: Log in to DockerHub - uses: docker/login-action@v2 + uses: docker/login-action@v3 with: username: ${{ secrets.DOCKERHUB_USER }} password: ${{ secrets.DOCKERHUB_PASSWORD }} diff --git a/.github/workflows/deploy-tiles-dev.yml b/.github/workflows/deploy-tiles-dev.yml index 1864c8b31..02c8622fe 100644 --- a/.github/workflows/deploy-tiles-dev.yml +++ b/.github/workflows/deploy-tiles-dev.yml @@ -28,13 +28,13 @@ jobs: - name: Configure docker run: gcloud auth configure-docker --quiet - name: Log in to GitHub Container Registry - uses: docker/login-action@v2 + uses: docker/login-action@v3 with: registry: ghcr.io username: ${{ github.actor }} password: ${{ secrets.GITHUB_TOKEN }} - name: Download tiles artifacts - uses: dawidd6/action-download-artifact@v2 + uses: dawidd6/action-download-artifact@v3 with: github_token: ${{ secrets.GITHUB_TOKEN }} workflow: ci.yml diff --git a/.github/workflows/deploy-tiles-prod.yml b/.github/workflows/deploy-tiles-prod.yml index 27196698d..146f1df58 100644 --- a/.github/workflows/deploy-tiles-prod.yml +++ b/.github/workflows/deploy-tiles-prod.yml @@ -17,7 +17,7 @@ jobs: id-token: write packages: read steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: google-github-actions/auth@v2 with: workload_identity_provider: ${{ env.GCP_WORKLOAD_IDENTITY_PROVIDER }} @@ -27,7 +27,7 @@ jobs: - name: Configure docker run: gcloud auth configure-docker --quiet - name: Log in to GitHub Container Registry - uses: docker/login-action@v2 + uses: docker/login-action@v3 with: registry: ghcr.io username: ${{ github.actor }} @@ -45,7 +45,7 @@ jobs: packages: read steps: - name: Log in to GitHub Container Registry - uses: docker/login-action@v2 + uses: docker/login-action@v3 with: registry: ghcr.io username: ${{ github.actor }} @@ -53,7 +53,7 @@ jobs: - name: Pull image run: docker pull $IMAGE - name: Log in to DockerHub - uses: docker/login-action@v2 + uses: docker/login-action@v3 with: username: ${{ secrets.DOCKERHUB_USER }} password: ${{ secrets.DOCKERHUB_PASSWORD }} diff --git a/.github/workflows/deploy-worker-dev.yml b/.github/workflows/deploy-worker-dev.yml index 1b7d44854..d5a13fd7f 100644 --- a/.github/workflows/deploy-worker-dev.yml +++ b/.github/workflows/deploy-worker-dev.yml @@ -22,7 +22,7 @@ jobs: id-token: write packages: write steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: google-github-actions/auth@v2 with: workload_identity_provider: ${{ env.GCP_WORKLOAD_IDENTITY_PROVIDER }} @@ -32,13 +32,13 @@ jobs: - name: Configure docker run: gcloud auth configure-docker --quiet - name: Log in to GitHub Container Registry - uses: docker/login-action@v2 + uses: docker/login-action@v3 with: registry: ghcr.io username: ${{ github.actor }} password: ${{ secrets.GITHUB_TOKEN }} - name: Download worker arfiacts - uses: dawidd6/action-download-artifact@v2 + uses: dawidd6/action-download-artifact@v3 if: inputs.use_local != 'true' with: github_token: ${{ secrets.GITHUB_TOKEN }} @@ -49,7 +49,7 @@ jobs: check_artifacts: true - name: Download worker arfiacts from local if: inputs.use_local == 'true' - uses: actions/download-artifact@v2 + uses: actions/download-artifact@v4 with: name: plateauview-api-worker - name: Unpack docker image diff --git a/.github/workflows/deploy-worker-prod.yml b/.github/workflows/deploy-worker-prod.yml index df439b1fe..adb0013e5 100644 --- a/.github/workflows/deploy-worker-prod.yml +++ b/.github/workflows/deploy-worker-prod.yml @@ -20,7 +20,7 @@ jobs: id-token: write packages: read steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: google-github-actions/auth@v2 with: workload_identity_provider: ${{ env.GCP_WORKLOAD_IDENTITY_PROVIDER }} @@ -30,7 +30,7 @@ jobs: - name: Configure docker run: gcloud auth configure-docker --quiet - name: Log in to GitHub Container Registry - uses: docker/login-action@v2 + uses: docker/login-action@v3 with: registry: ghcr.io username: ${{ github.actor }} diff --git a/.github/workflows/pr-title.yml b/.github/workflows/pr-title.yml index 157cb5200..95dcf92cf 100644 --- a/.github/workflows/pr-title.yml +++ b/.github/workflows/pr-title.yml @@ -16,7 +16,7 @@ jobs: pr_title: runs-on: ubuntu-latest steps: - - uses: actions/labeler@v4 + - uses: actions/labeler@v5 with: repo-token: ${{ secrets.GITHUB_TOKEN }} - uses: amannn/action-semantic-pull-request@v5 @@ -38,12 +38,12 @@ jobs: outputs: plugin: ${{ steps.plugin.outputs.any_changed }} steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: fetch-depth: 0 - name: changed files for plugin id: plugin - uses: tj-actions/changed-files@v36 + uses: tj-actions/changed-files@v43 with: files: | plugin