From 373f999eb3019036d26feba75c096771af2257f3 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Wed, 21 Aug 2024 11:55:50 +0000 Subject: [PATCH] ci: update github actions dependencies --- .github/workflows/build_server.yml | 18 +++++++++--------- .github/workflows/build_web.yml | 18 +++++++++--------- .github/workflows/ci.yml | 8 ++++---- .github/workflows/ci_docker_build_push.yml | 10 +++++----- .github/workflows/ci_server.yml | 14 +++++++------- .github/workflows/ci_web.yml | 4 ++-- .github/workflows/deploiy_aws.yml | 4 ++-- .github/workflows/deploy_server_nightly.yml | 4 ++-- .github/workflows/deploy_web_nightly.yml | 4 ++-- .github/workflows/e2e.yml | 8 ++++---- .github/workflows/pr_title.yml | 2 +- .github/workflows/release.yml | 2 +- .github/workflows/renovate.yml | 2 +- .github/workflows/reviewer_lottery.yml | 2 +- 14 files changed, 50 insertions(+), 50 deletions(-) diff --git a/.github/workflows/build_server.yml b/.github/workflows/build_server.yml index 6c07e5ed86..51b26ae81f 100644 --- a/.github/workflows/build_server.yml +++ b/.github/workflows/build_server.yml @@ -28,15 +28,15 @@ jobs: ARTIFACTS: server/dist/reearth_*.* steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: fetch-depth: 0 - name: Set up Go - uses: actions/setup-go@v4 + uses: actions/setup-go@v5 with: go-version: '1.21' - name: Run GoReleaser - uses: goreleaser/goreleaser-action@v4 + uses: goreleaser/goreleaser-action@v6 with: distribution: goreleaser version: latest @@ -62,7 +62,7 @@ jobs: prerelease: true - name: Download latest changelog if: ${{ github.event.inputs.new_tag != 'blank' }} - uses: dawidd6/action-download-artifact@v2 + uses: dawidd6/action-download-artifact@v6 with: workflow: release.yml name: changelog-${{ github.event.inputs.new_tag }} @@ -88,18 +88,18 @@ jobs: working-directory: server steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v4 - uses: actions/create-github-app-token@v1 id: app-token with: app-id: ${{ vars.GH_APP_ID }} private-key: ${{ secrets.GH_APP_PRIVATE_KEY }} - 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: Login to DockerHub - uses: docker/login-action@v2 + uses: docker/login-action@v3 with: username: ${{ secrets.DOCKERHUB_USERNAME }} password: ${{ secrets.DOCKERHUB_TOKEN }} @@ -138,7 +138,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@v6 with: context: server platforms: ${{ steps.options.outputs.platforms }} diff --git a/.github/workflows/build_web.yml b/.github/workflows/build_web.yml index 5a9d880239..e8ad0e047e 100644 --- a/.github/workflows/build_web.yml +++ b/.github/workflows/build_web.yml @@ -41,7 +41,7 @@ jobs: - name: Get yarn cache directory path id: yarn-cache-dir-path run: echo "dir=$(yarn config get cacheFolder)" >> $GITHUB_OUTPUT - - uses: actions/cache@v3 + - uses: actions/cache@v4 id: yarn-cache with: path: ${{ steps.yarn-cache-dir-path.outputs.dir }} @@ -54,7 +54,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@v4 with: name: reearth-web path: web/reearth-web.tar.gz @@ -73,7 +73,7 @@ jobs: with: app-id: ${{ vars.GH_APP_ID }} private-key: ${{ secrets.GH_APP_PRIVATE_KEY }} - - uses: actions/download-artifact@v2 + - uses: actions/download-artifact@v4 with: name: reearth-web - name: Rename artifact @@ -108,13 +108,13 @@ 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 + uses: docker/setup-qemu-action@v3 - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v2 + uses: docker/setup-buildx-action@v3 - name: Login to DockerHub - uses: docker/login-action@v2 + uses: docker/login-action@v3 with: username: ${{ secrets.DOCKERHUB_USERNAME }} password: ${{ secrets.DOCKERHUB_TOKEN }} @@ -153,7 +153,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@v6 with: context: server platforms: ${{ steps.options.outputs.platforms }} @@ -179,7 +179,7 @@ jobs: - name: Rename artifact run: mv reearth-web_rc.tar.gz $ARTIFACT - name: Download latest changelog - uses: dawidd6/action-download-artifact@v2 + uses: dawidd6/action-download-artifact@v6 with: workflow: release.yml name: changelog-${{ github.event.inputs.new_tag }} diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 94c06c9668..00274de946 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@v45 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@v45 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 a7f8412bb9..bc52eaf5c6 100644 --- a/.github/workflows/ci_docker_build_push.yml +++ b/.github/workflows/ci_docker_build_push.yml @@ -29,13 +29,13 @@ 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 + uses: docker/setup-qemu-action@v3 - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v2 + uses: docker/setup-buildx-action@v3 - name: Login to DockerHub - uses: docker/login-action@v2 + uses: docker/login-action@v3 with: username: ${{ secrets.DOCKERHUB_USERNAME }} password: ${{ secrets.DOCKERHUB_TOKEN }} @@ -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@v6 with: context: server platforms: ${{ steps.options.outputs.platforms }} diff --git a/.github/workflows/ci_server.yml b/.github/workflows/ci_server.yml index 8b83edf99e..2ad0bcbc04 100644 --- a/.github/workflows/ci_server.yml +++ b/.github/workflows/ci_server.yml @@ -10,14 +10,14 @@ 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 + 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@v6 with: version: v1.55 args: --timeout=10m @@ -27,14 +27,14 @@ 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 + uses: actions/setup-go@v5 with: go-version: ${{ env.GO_VERSION }} cache-dependency-path: server/go.sum @@ -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@v4 with: token: ${{ secrets.CODECOV_TOKEN }} flags: server diff --git a/.github/workflows/ci_web.yml b/.github/workflows/ci_web.yml index ed3d742f19..58ea9538f4 100644 --- a/.github/workflows/ci_web.yml +++ b/.github/workflows/ci_web.yml @@ -16,7 +16,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@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 }} @@ -34,7 +34,7 @@ jobs: - name: Check run: yarn run coverage - name: Send coverage report - uses: codecov/codecov-action@v2 + uses: codecov/codecov-action@v4 with: token: ${{ secrets.CODECOV_TOKEN }} flags: web,web-beta,web-classic,web-utils diff --git a/.github/workflows/deploiy_aws.yml b/.github/workflows/deploiy_aws.yml index d483857c0c..f6c6fe5b70 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@v4 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 }} @@ -29,7 +29,7 @@ jobs: - name: Log in to AWS ECR id: login-ecr - uses: aws-actions/amazon-ecr-login@v1 + uses: aws-actions/amazon-ecr-login@v2 - name: docker pull, push to ECR run: | diff --git a/.github/workflows/deploy_server_nightly.yml b/.github/workflows/deploy_server_nightly.yml index 6d1dc9c27b..02cd5b0fc6 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-visualizer' steps: - - uses: google-github-actions/auth@v0 + - uses: google-github-actions/auth@v2 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@v2 - name: Configure docker run: gcloud auth configure-docker us-central1-docker.pkg.dev --quiet - name: docker push diff --git a/.github/workflows/deploy_web_nightly.yml b/.github/workflows/deploy_web_nightly.yml index 9906e7ad4c..d7e9efd156 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-visualizer' steps: - - uses: google-github-actions/auth@v0 + - uses: google-github-actions/auth@v2 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@v2 - 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..bc97297afd 100644 --- a/.github/workflows/e2e.yml +++ b/.github/workflows/e2e.yml @@ -13,14 +13,14 @@ jobs: run: working-directory: web steps: - - uses: actions/setup-node@v3 + - uses: actions/setup-node@v4 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)" - - 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 }} @@ -45,7 +45,7 @@ jobs: REEARTH_WEB_E2E_PASSWORD: ${{ secrets.REEARTH_WEB_E2E_PASSWORD }} REEARTH_WEB_E2E_USER_NAME: ${{ secrets.REEARTH_WEB_E2E_USER_NAME }} REEARTH_WEB_E2E_SIGNUP_SECRET: ${{ secrets.REEARTH_WEB_E2E_SIGNUP_SECRET }} - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 if: always() with: name: playwright diff --git a/.github/workflows/pr_title.yml b/.github/workflows/pr_title.yml index 1041d4d639..fe60adf580 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 diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 78b08bc096..d649aa2249 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -40,7 +40,7 @@ jobs: repo: ${{ github.repository }} latest: CHANGELOG_latest.md - name: Upload latest CHANGELOG - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: changelog-${{ steps.changelog.outputs.version }} path: CHANGELOG_latest.md 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