diff --git a/.github/workflows/build_server.yml b/.github/workflows/build_server.yml index 558f6c3c38..b737909ec8 100644 --- a/.github/workflows/build_server.yml +++ b/.github/workflows/build_server.yml @@ -28,7 +28,7 @@ jobs: ARTIFACTS: server/dist/reearth_*.* steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: fetch-depth: 0 - name: Set up Go @@ -89,7 +89,7 @@ jobs: working-directory: server steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: Set up QEMU uses: docker/setup-qemu-action@v2 - name: Set up Docker Buildx @@ -134,7 +134,7 @@ jobs: - name: Extract reearth/web run: tar -xvf reearth-web.tar.gz; mv reearth-web web; ls - name: Build and push docker image - uses: docker/build-push-action@v2 + uses: docker/build-push-action@v4 with: context: server platforms: ${{ steps.options.outputs.platforms }} diff --git a/.github/workflows/build_web.yml b/.github/workflows/build_web.yml index 25a7cf53c0..fa320cc5df 100644 --- a/.github/workflows/build_web.yml +++ b/.github/workflows/build_web.yml @@ -33,7 +33,7 @@ jobs: - uses: actions/setup-node@v3 with: node-version: lts/* - - 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)" @@ -50,7 +50,7 @@ jobs: run: yarn build - name: Pack run: mv dist reearth-web && tar -zcvf reearth-web.tar.gz reearth-web - - uses: actions/upload-artifact@v2 + - uses: actions/upload-artifact@v3 with: name: reearth-web path: web/reearth-web.tar.gz @@ -63,7 +63,7 @@ jobs: env: ARTIFACT: reearth-web_${{ github.event.inputs.name }}.tar.gz steps: - - uses: actions/download-artifact@v2 + - uses: actions/download-artifact@v3 with: name: reearth-web - name: Rename artifact @@ -98,7 +98,7 @@ jobs: working-directory: server steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Set up QEMU uses: docker/setup-qemu-action@v2 - name: Set up Docker Buildx @@ -143,7 +143,7 @@ jobs: - name: Extract reearth/web run: tar -xvf reearth-web.tar.gz; mv reearth-web web; ls - name: Build and push docker image - uses: docker/build-push-action@v2 + uses: docker/build-push-action@v4 with: context: server platforms: ${{ steps.options.outputs.platforms }} diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 94c06c9668..7660884f88 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -10,12 +10,12 @@ jobs: web: ${{ steps.web.outputs.any_changed }} server: ${{ steps.server.outputs.any_changed }} steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: fetch-depth: 0 - name: changed files for web id: web - uses: tj-actions/changed-files@v36 + uses: tj-actions/changed-files@v39 with: files: | web @@ -27,7 +27,7 @@ jobs: - name: changed files for server id: server - uses: tj-actions/changed-files@v36 + uses: tj-actions/changed-files@v39 with: files: | server @@ -64,7 +64,7 @@ jobs: name: ${{ steps.info.outputs.name || 'blank' }} steps: - name: checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Fetch tags run: git fetch --prune --unshallow --tags - name: Get info diff --git a/.github/workflows/ci_docker_build_push.yml b/.github/workflows/ci_docker_build_push.yml index 842d200474..65dc24391a 100644 --- a/.github/workflows/ci_docker_build_push.yml +++ b/.github/workflows/ci_docker_build_push.yml @@ -29,7 +29,7 @@ jobs: working-directory: server steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: Set up QEMU uses: docker/setup-qemu-action@v2 - name: Set up Docker Buildx @@ -74,7 +74,7 @@ jobs: - name: Extract reearth/web run: tar -xvf reearth-web.tar.gz; mv reearth-web web; ls - name: Build and push docker image - uses: docker/build-push-action@v2 + uses: docker/build-push-action@v4 with: context: server platforms: ${{ steps.options.outputs.platforms }} diff --git a/.github/workflows/ci_server.yml b/.github/workflows/ci_server.yml index 4900d4e289..e64d0f103f 100644 --- a/.github/workflows/ci_server.yml +++ b/.github/workflows/ci_server.yml @@ -10,7 +10,7 @@ jobs: if: github.event_name != 'push' || !startsWith(github.event.head_commit.message, 'v') steps: - name: checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: set up uses: actions/setup-go@v4 with: @@ -27,12 +27,12 @@ jobs: runs-on: ubuntu-latest services: mongo: - image: mongo:5-focal + image: mongo:6-focal ports: - 27017:27017 steps: - name: checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: set up uses: actions/setup-go@v4 with: @@ -44,7 +44,7 @@ jobs: REEARTH_DB: mongodb://localhost working-directory: server - name: Send coverage report - uses: codecov/codecov-action@v2 + uses: codecov/codecov-action@v3 with: token: ${{ secrets.CODECOV_TOKEN }} flags: server diff --git a/.github/workflows/ci_web.yml b/.github/workflows/ci_web.yml index 64530aec50..5f6bf15294 100644 --- a/.github/workflows/ci_web.yml +++ b/.github/workflows/ci_web.yml @@ -9,7 +9,7 @@ jobs: run: working-directory: web steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: actions/setup-node@v3 with: node-version: lts/* @@ -32,7 +32,7 @@ jobs: - name: Check run: yarn run coverage - name: Send coverage report - uses: codecov/codecov-action@v2 + uses: codecov/codecov-action@v3 with: token: ${{ secrets.CODECOV_TOKEN }} flags: web,web-beta,web-classic,web-utils diff --git a/.github/workflows/cron_ion_token_test.yml b/.github/workflows/cron_ion_token_test.yml index 2b8bc4f595..532b8a9074 100644 --- a/.github/workflows/cron_ion_token_test.yml +++ b/.github/workflows/cron_ion_token_test.yml @@ -10,11 +10,11 @@ jobs: update_ion_token: runs-on: ubuntu-latest steps: - - uses: google-github-actions/auth@v0 + - uses: google-github-actions/auth@v1 with: credentials_json: ${{ secrets.GCP_SA_KEY }} - 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/deploiy_aws.yml b/.github/workflows/deploiy_aws.yml index bbf9930836..f55775ea20 100644 --- a/.github/workflows/deploiy_aws.yml +++ b/.github/workflows/deploiy_aws.yml @@ -21,7 +21,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Configure AWS credentials - uses: aws-actions/configure-aws-credentials@v2 + uses: aws-actions/configure-aws-credentials@v3 with: aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID || github.events.inputs.keyId }} aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY || github.events.inputs.secretAccessKey }} diff --git a/.github/workflows/deploy_server_nightly.yml b/.github/workflows/deploy_server_nightly.yml index 468e72863d..32516e4880 100644 --- a/.github/workflows/deploy_server_nightly.yml +++ b/.github/workflows/deploy_server_nightly.yml @@ -14,11 +14,11 @@ jobs: runs-on: ubuntu-latest if: github.event.repository.full_name == 'reearth/reearth' steps: - - uses: google-github-actions/auth@v0 + - uses: google-github-actions/auth@v1 with: credentials_json: ${{ secrets.GCP_SA_KEY }} - 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: docker push diff --git a/.github/workflows/deploy_web_nightly.yml b/.github/workflows/deploy_web_nightly.yml index 1de1836829..1cb8467d46 100644 --- a/.github/workflows/deploy_web_nightly.yml +++ b/.github/workflows/deploy_web_nightly.yml @@ -13,11 +13,11 @@ jobs: runs-on: ubuntu-latest if: github.event.repository.full_name == 'reearth/reearth' steps: - - uses: google-github-actions/auth@v0 + - uses: google-github-actions/auth@v1 with: credentials_json: ${{ secrets.GCP_SA_KEY }} - name: Set up Cloud SDK - uses: google-github-actions/setup-gcloud@v0 + uses: google-github-actions/setup-gcloud@v1 - uses: dsaltares/fetch-gh-release-asset@master with: repo: reearth/reearth diff --git a/.github/workflows/e2e.yml b/.github/workflows/e2e.yml index 04b83e6d57..161a89308d 100644 --- a/.github/workflows/e2e.yml +++ b/.github/workflows/e2e.yml @@ -16,7 +16,7 @@ jobs: - uses: actions/setup-node@v3 with: node-version: lts/* - - 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)" diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index ffd499ffec..7036dcafa8 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -23,7 +23,7 @@ jobs: git config --global user.email "${{ github.actor }}@users.noreply.github.com" git config --global pull.rebase false - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: fetch-depth: 0 token: ${{ secrets.GPT }} diff --git a/.github/workflows/renovate.yml b/.github/workflows/renovate.yml index 0db94b406d..7cb7f95898 100644 --- a/.github/workflows/renovate.yml +++ b/.github/workflows/renovate.yml @@ -8,7 +8,7 @@ jobs: runs-on: ubuntu-latest steps: - name: checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: fetch-depth: 2 - name: fix diff --git a/.github/workflows/reviewer_lottery.yml b/.github/workflows/reviewer_lottery.yml index 61973854c8..c9837a0780 100644 --- a/.github/workflows/reviewer_lottery.yml +++ b/.github/workflows/reviewer_lottery.yml @@ -9,7 +9,7 @@ jobs: test: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: uesteibar/reviewer-lottery@v3 with: repo-token: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file diff --git a/.github/workflows/stage.yml b/.github/workflows/stage.yml index 9fb75349cf..7d20e027b6 100644 --- a/.github/workflows/stage.yml +++ b/.github/workflows/stage.yml @@ -12,7 +12,7 @@ jobs: run: | git config --global user.name $GPT_USER git config --global pull.rebase false - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: fetch-depth: 0 token: ${{ secrets.GPT }}