diff --git a/.github/workflows/build-geo.yml b/.github/workflows/build-geo.yml index 02f9b3883..e99e0074c 100644 --- a/.github/workflows/build-geo.yml +++ b/.github/workflows/build-geo.yml @@ -12,13 +12,13 @@ jobs: IMAGE_NAME: ghcr.io/eukarya-inc/reearth-plateauview/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 diff --git a/.github/workflows/build-server.yml b/.github/workflows/build-server.yml index 07a8443d8..e6d48ad4b 100644 --- a/.github/workflows/build-server.yml +++ b/.github/workflows/build-server.yml @@ -12,13 +12,13 @@ jobs: IMAGE_NAME: ghcr.io/eukarya-inc/reearth-plateauview/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: Build and load docker image - uses: docker/build-push-action@v3 + uses: docker/build-push-action@v5 with: context: ./server platforms: linux/amd64 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 9d84f13f9..adf1a6862 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@v3 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-geo.yml b/.github/workflows/ci-geo.yml index b85d3a805..43f665783 100644 --- a/.github/workflows/ci-geo.yml +++ b/.github/workflows/ci-geo.yml @@ -9,8 +9,8 @@ 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 diff --git a/.github/workflows/ci-server.yml b/.github/workflows/ci-server.yml index f7ff4a2b6..d551f1dda 100644 --- a/.github/workflows/ci-server.yml +++ b/.github/workflows/ci-server.yml @@ -7,7 +7,7 @@ jobs: ci-server-lint: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: actions/setup-go@v4 with: go-version: ${{ env.GO_VERSION }} @@ -21,7 +21,7 @@ jobs: ci-server-test: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: actions/setup-go@v4 with: go-version: ${{ env.GO_VERSION }} diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index cfe1b0f63..2c6434dff 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -11,12 +11,12 @@ jobs: server: ${{ steps.server.outputs.any_changed }} geo: ${{ steps.server.outputs.any_changed }} 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@v40 with: files: | extension @@ -27,7 +27,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@v40 with: files: | server @@ -38,7 +38,7 @@ jobs: .github/workflows/deploy-server-prod.yml - name: changed files for geo id: geo - uses: tj-actions/changed-files@v36 + uses: tj-actions/changed-files@v40 with: files: | geo diff --git a/.github/workflows/cron-ion-token-prod.yml b/.github/workflows/cron-ion-token-prod.yml index 646518810..0ff9973a0 100644 --- a/.github/workflows/cron-ion-token-prod.yml +++ b/.github/workflows/cron-ion-token-prod.yml @@ -10,12 +10,12 @@ jobs: update_ion_token: runs-on: ubuntu-latest steps: - - uses: google-github-actions/auth@v0 + - uses: google-github-actions/auth@v2 with: # gsutil does not support Workload Identity for now credentials_json: ${{ secrets.GCP_SA_KEY_PLATEAU_PROD }} - name: Set up Cloud SDK - uses: google-github-actions/setup-gcloud@v0 + uses: google-github-actions/setup-gcloud@v1 - name: Download reearth config run: gsutil cp "${{ env.GCS_DOMAIN }}/${{ env.REEARTH_CONFIG_FILENAME }}" . - name: Get Cesium Ion token diff --git a/.github/workflows/deploy-cms-dev.yml b/.github/workflows/deploy-cms-dev.yml index db8b4ad1f..b326e786c 100644 --- a/.github/workflows/deploy-cms-dev.yml +++ b/.github/workflows/deploy-cms-dev.yml @@ -24,11 +24,11 @@ jobs: packages: write if: github.event.repository.full_name == 'eukarya-inc/reearth-plateauview' steps: - - uses: google-github-actions/auth@v0 + - uses: google-github-actions/auth@v2 with: credentials_json: ${{ secrets.GCP_SA_KEY_PLATEAU_DEV }} - name: Set up Cloud SDK - uses: google-github-actions/setup-gcloud@v0 + uses: google-github-actions/setup-gcloud@v1 - name: Download CMS web uses: dawidd6/action-download-artifact@v2 with: @@ -58,7 +58,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@v3 with: name: reearth-cms-web path: reearth-cms-web.tar.gz @@ -70,16 +70,16 @@ jobs: packages: write if: github.event.repository.full_name == 'eukarya-inc/reearth-plateauview' steps: - - uses: google-github-actions/auth@v0 + - uses: google-github-actions/auth@v2 with: workload_identity_provider: ${{ env.GCP_WORKLOAD_IDENTITY_PROVIDER }} service_account: ${{ env.GCP_SERVICE_ACCOUNT }} - name: Set up Cloud SDK - uses: google-github-actions/setup-gcloud@v0 + uses: google-github-actions/setup-gcloud@v1 - 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 86468617c..7b03bde12 100644 --- a/.github/workflows/deploy-cms-prod.yml +++ b/.github/workflows/deploy-cms-prod.yml @@ -24,11 +24,11 @@ jobs: runs-on: ubuntu-latest if: github.event.repository.full_name == 'eukarya-inc/reearth-plateauview' steps: - - uses: google-github-actions/auth@v0 + - uses: google-github-actions/auth@v2 with: credentials_json: ${{ secrets.GCP_SA_KEY_PLATEAU_PROD }} - name: Set up Cloud SDK - uses: google-github-actions/setup-gcloud@v0 + uses: google-github-actions/setup-gcloud@v1 - name: Download artifact uses: dawidd6/action-download-artifact@v2 with: @@ -54,16 +54,16 @@ jobs: packages: read if: github.event.repository.full_name == 'eukarya-inc/reearth-plateauview' steps: - - uses: google-github-actions/auth@v0 + - uses: google-github-actions/auth@v2 with: workload_identity_provider: ${{ env.GCP_WORKLOAD_IDENTITY_PROVIDER }} service_account: ${{ env.GCP_SERVICE_ACCOUNT }} - name: Set up Cloud SDK - uses: google-github-actions/setup-gcloud@v0 + uses: google-github-actions/setup-gcloud@v1 - 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 }} @@ -94,7 +94,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 }} @@ -102,7 +102,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 c82919226..f6de733ff 100644 --- a/.github/workflows/deploy-extension-dev.yml +++ b/.github/workflows/deploy-extension-dev.yml @@ -21,17 +21,17 @@ jobs: run: working-directory: extension steps: - - uses: actions/checkout@v3 - - uses: google-github-actions/auth@v0 + - uses: actions/checkout@v4 + - uses: google-github-actions/auth@v2 with: workload_identity_provider: ${{ env.GCP_WORKLOAD_IDENTITY_PROVIDER }} service_account: ${{ env.GCP_SERVICE_ACCOUNT }} - name: Set up Cloud SDK - uses: google-github-actions/setup-gcloud@v0 + uses: google-github-actions/setup-gcloud@v1 - 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@v3 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 }} @@ -47,7 +47,7 @@ jobs: - name: Pack extension run: tar -zcvf plateauview-extension.tar.gz dist - name: Save as artifact - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v3 with: name: plateauview-extension path: plateauview-extension.tar.gz diff --git a/.github/workflows/deploy-extension-prod.yml b/.github/workflows/deploy-extension-prod.yml index 0f72b1a44..920501787 100644 --- a/.github/workflows/deploy-extension-prod.yml +++ b/.github/workflows/deploy-extension-prod.yml @@ -19,17 +19,17 @@ jobs: run: working-directory: extension steps: - - uses: actions/checkout@v3 - - uses: google-github-actions/auth@v0 + - uses: actions/checkout@v4 + - uses: google-github-actions/auth@v2 with: workload_identity_provider: ${{ env.GCP_WORKLOAD_IDENTITY_PROVIDER }} service_account: ${{ env.GCP_SERVICE_ACCOUNT }} - name: Set up Cloud SDK - uses: google-github-actions/setup-gcloud@v0 + uses: google-github-actions/setup-gcloud@v1 - 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@v3 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 fefb0a742..e4a267382 100644 --- a/.github/workflows/deploy-geo-dev.yml +++ b/.github/workflows/deploy-geo-dev.yml @@ -18,17 +18,17 @@ jobs: id-token: write packages: write steps: - - uses: actions/checkout@v3 - - uses: google-github-actions/auth@v0 + - uses: actions/checkout@v4 + - uses: google-github-actions/auth@v2 with: workload_identity_provider: ${{ env.GCP_WORKLOAD_IDENTITY_PROVIDER }} service_account: ${{ env.GCP_SERVICE_ACCOUNT }} - name: Set up Cloud SDK - uses: google-github-actions/setup-gcloud@v0 + uses: google-github-actions/setup-gcloud@v1 - 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-geo-prod.yml b/.github/workflows/deploy-geo-prod.yml index 67767fa04..b4baefe8e 100644 --- a/.github/workflows/deploy-geo-prod.yml +++ b/.github/workflows/deploy-geo-prod.yml @@ -17,17 +17,17 @@ jobs: id-token: write packages: read steps: - - uses: actions/checkout@v3 - - uses: google-github-actions/auth@v0 + - uses: actions/checkout@v4 + - uses: google-github-actions/auth@v2 with: workload_identity_provider: ${{ env.GCP_WORKLOAD_IDENTITY_PROVIDER }} service_account: ${{ env.GCP_SERVICE_ACCOUNT }} - name: Set up Cloud SDK - uses: google-github-actions/setup-gcloud@v0 + uses: google-github-actions/setup-gcloud@v1 - 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 0c05f509d..fff4a20d9 100644 --- a/.github/workflows/deploy-reearth-dev.yml +++ b/.github/workflows/deploy-reearth-dev.yml @@ -18,12 +18,12 @@ jobs: deploy_web: runs-on: ubuntu-latest steps: - - uses: google-github-actions/auth@v0 + - uses: google-github-actions/auth@v2 with: # gsutil does not support Workload Identity for now credentials_json: ${{ secrets.GCP_SA_KEY_PLATEAU_DEV }} - name: Set up Cloud SDK - uses: google-github-actions/setup-gcloud@v0 + uses: google-github-actions/setup-gcloud@v1 # TODO: allow to specify which version to release - name: Download reearth-web uses: dsaltares/fetch-gh-release-asset@master @@ -53,7 +53,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@v3 with: name: reearth-web path: reearth-web.tar.gz @@ -64,16 +64,16 @@ jobs: id-token: write packages: write steps: - - uses: google-github-actions/auth@v0 + - uses: google-github-actions/auth@v2 with: workload_identity_provider: ${{ env.GCP_WORKLOAD_IDENTITY_PROVIDER }} service_account: ${{ env.GCP_SERVICE_ACCOUNT }} - name: Set up Cloud SDK - uses: google-github-actions/setup-gcloud@v0 + uses: google-github-actions/setup-gcloud@v1 - 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 527f3d829..a3a688388 100644 --- a/.github/workflows/deploy-reearth-prod.yml +++ b/.github/workflows/deploy-reearth-prod.yml @@ -20,12 +20,12 @@ jobs: deploy_web: runs-on: ubuntu-latest steps: - - uses: google-github-actions/auth@v0 + - uses: google-github-actions/auth@v2 with: # gsutil does not support Workload Identity for now credentials_json: ${{ secrets.GCP_SA_KEY_PLATEAU_PROD }} - name: Set up Cloud SDK - uses: google-github-actions/setup-gcloud@v0 + uses: google-github-actions/setup-gcloud@v1 - name: Download artifact uses: dawidd6/action-download-artifact@v2 with: @@ -49,16 +49,16 @@ jobs: packages: read if: ${{ !github.event.inputs.web_run_id }} steps: - - uses: google-github-actions/auth@v0 + - uses: google-github-actions/auth@v2 with: workload_identity_provider: ${{ env.GCP_WORKLOAD_IDENTITY_PROVIDER }} service_account: ${{ env.GCP_SERVICE_ACCOUNT }} - name: Set up Cloud SDK - uses: google-github-actions/setup-gcloud@v0 + uses: google-github-actions/setup-gcloud@v1 - 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 }} @@ -80,7 +80,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 }} @@ -88,7 +88,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 19e811c35..f2151668c 100644 --- a/.github/workflows/deploy-server-dev.yml +++ b/.github/workflows/deploy-server-dev.yml @@ -18,17 +18,17 @@ jobs: id-token: write packages: write steps: - - uses: actions/checkout@v3 - - uses: google-github-actions/auth@v0 + - uses: actions/checkout@v4 + - uses: google-github-actions/auth@v2 with: workload_identity_provider: ${{ env.GCP_WORKLOAD_IDENTITY_PROVIDER }} service_account: ${{ env.GCP_SERVICE_ACCOUNT }} - name: Set up Cloud SDK - uses: google-github-actions/setup-gcloud@v0 + uses: google-github-actions/setup-gcloud@v1 - 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-server-prod.yml b/.github/workflows/deploy-server-prod.yml index 6da3fb04e..c71ab74d6 100644 --- a/.github/workflows/deploy-server-prod.yml +++ b/.github/workflows/deploy-server-prod.yml @@ -17,17 +17,17 @@ jobs: id-token: write packages: read steps: - - uses: actions/checkout@v3 - - uses: google-github-actions/auth@v0 + - uses: actions/checkout@v4 + - uses: google-github-actions/auth@v2 with: workload_identity_provider: ${{ env.GCP_WORKLOAD_IDENTITY_PROVIDER }} service_account: ${{ env.GCP_SERVICE_ACCOUNT }} - name: Set up Cloud SDK - uses: google-github-actions/setup-gcloud@v0 + uses: google-github-actions/setup-gcloud@v1 - 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 }} @@ -58,7 +58,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 }} @@ -66,7 +66,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/pr-title.yml b/.github/workflows/pr-title.yml index 157cb5200..a99b78d03 100644 --- a/.github/workflows/pr-title.yml +++ b/.github/workflows/pr-title.yml @@ -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@v40 with: files: | plugin