Skip to content

Commit

Permalink
ci: update github actions dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
renovate[bot] authored Nov 29, 2023
1 parent 65debf8 commit 39b4796
Show file tree
Hide file tree
Showing 19 changed files with 79 additions and 79 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/build-geo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/build-server.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci-extension-version-update.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/ci-extension.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/ci-geo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/ci-server.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand All @@ -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 }}
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand All @@ -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
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/cron-ion-token-prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/deploy-cms-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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
Expand All @@ -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 }}
Expand Down
14 changes: 7 additions & 7 deletions .github/workflows/deploy-cms-prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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 }}
Expand Down Expand Up @@ -94,15 +94,15 @@ 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 }}
password: ${{ secrets.GITHUB_TOKEN }}
- 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 }}
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/deploy-extension-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand All @@ -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
8 changes: 4 additions & 4 deletions .github/workflows/deploy-extension-prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/deploy-geo-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/deploy-geo-prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand All @@ -51,15 +51,15 @@ 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 }}
password: ${{ secrets.GITHUB_TOKEN }}
- 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 }}
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/deploy-reearth-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand All @@ -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 }}
Expand Down
Loading

0 comments on commit 39b4796

Please sign in to comment.