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 Dec 14, 2023
1 parent 902fe9f commit d1e3790
Show file tree
Hide file tree
Showing 20 changed files with 92 additions and 92 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
8 changes: 4 additions & 4 deletions .github/workflows/ci-server.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ 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
Expand All @@ -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
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/ci-tools.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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:
Expand All @@ -57,7 +57,7 @@ jobs:
strip: true
working-directory: tools
- name: Upload artifacts
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
with:
name: ${{ matrix.platform.name }}
path: tools/target/${{ matrix.platform.target }}/release/${{ matrix.platform.bin }}
Expand All @@ -72,7 +72,7 @@ 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/checkout@v4
- uses: actions/download-artifact@v3
with:
path: tools-artifacts
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,12 @@ jobs:
geo: ${{ steps.geo.outputs.any_changed }}
tools: ${{ steps.tools.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 @@ -32,7 +32,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 @@ -42,14 +42,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@v40
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@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@v2
- name: Download reearth config
run: gsutil cp "${{ env.GCS_DOMAIN }}/${{ env.REEARTH_CONFIG_FILENAME }}" .
- name: Get Cesium Ion token
Expand Down
14 changes: 7 additions & 7 deletions .github/workflows/deploy-cms-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,13 @@ 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@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
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@v2
- 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
16 changes: 8 additions & 8 deletions .github/workflows/deploy-cms-prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,13 @@ 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@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
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@v2
- 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@v2
- 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@v2
- 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
10 changes: 5 additions & 5 deletions .github/workflows/deploy-geo-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,23 +18,23 @@ 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@v2
- 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
Expand Down
Loading

0 comments on commit d1e3790

Please sign in to comment.