Skip to content

Commit

Permalink
Merge pull request #4085 from traPtitech/upgrade/dependabot-actions-2…
Browse files Browse the repository at this point in the history
…02310

upgrade/dependabot actions 202310
  • Loading branch information
ras0q authored Oct 4, 2023
2 parents ce6220e + 95ecfbc commit 413c78c
Show file tree
Hide file tree
Showing 5 changed files with 26 additions and 26 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
Expand Down
16 changes: 8 additions & 8 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: setup Node
uses: actions/setup-node@v3
with:
Expand All @@ -26,7 +26,7 @@ jobs:
needs: [packages]
steps:
- name: checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: setup Node
uses: actions/setup-node@v3
with:
Expand All @@ -44,7 +44,7 @@ jobs:
needs: [packages]
steps:
- name: checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: setup Node
uses: actions/setup-node@v3
with:
Expand All @@ -62,7 +62,7 @@ jobs:
needs: [packages]
steps:
- name: checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: setup Node
uses: actions/setup-node@v3
with:
Expand All @@ -80,7 +80,7 @@ jobs:
needs: [packages]
steps:
- name: checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: setup Node
uses: actions/setup-node@v3
with:
Expand All @@ -104,7 +104,7 @@ jobs:
needs: [packages]
steps:
- name: checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: setup Node
uses: actions/setup-node@v3
with:
Expand All @@ -126,7 +126,7 @@ jobs:
needs: [test-unit]
steps:
- name: checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
- uses: actions/download-artifact@v3
with:
name: coverage
Expand All @@ -139,7 +139,7 @@ jobs:
if: (github.repository_owner == 'traPtitech' && github.actor != 'dependabot[bot]')
steps:
- name: checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: setup Node
uses: actions/setup-node@v3
with:
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/master.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: setup Node
uses: actions/setup-node@v3
with:
Expand All @@ -35,24 +35,24 @@ jobs:
name: Build Docker Image
runs-on: ubuntu-latest
steps:
- 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
id: buildx
uses: docker/setup-buildx-action@v2
uses: docker/setup-buildx-action@v3
- name: Show available platforms
run: echo ${{ steps.buildx.outputs.platforms }}
- name: Login to GitHub Container Registry
uses: docker/login-action@v2
uses: docker/login-action@v3
with:
registry: ghcr.io
username: traptitech
password: ${{ secrets.GITHUB_TOKEN }}

- name: Build and push
uses: docker/build-push-action@v4
uses: docker/build-push-action@v5
with:
context: .
push: true
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/preview.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,31 +18,31 @@ jobs:
- name: Set PR_NUMBER env
run: echo "PR_NUMBER=${{ github.event.number }}" >> $GITHUB_ENV

- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
ref: ${{ github.event.pull_request.head.sha }}
persist-credentials: false

- name: Set up QEMU
uses: docker/setup-qemu-action@v2
uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx
id: buildx
uses: docker/setup-buildx-action@v2
uses: docker/setup-buildx-action@v3
- name: Builder instance name
run: echo ${{ steps.buildx.outputs.name }}
- name: Available platforms
run: echo ${{ steps.buildx.outputs.platforms }}

- name: Login to GitHub Container Registry
uses: docker/login-action@v2
uses: docker/login-action@v3
with:
registry: ghcr.io
username: traptitech
password: ${{ secrets.GITHUB_TOKEN }}

# 隔離された環境でビルドを行い、write perm付きトークンをユーザーのコードに与えないよう注意すること
- name: Build
uses: docker/build-push-action@v4
uses: docker/build-push-action@v5
with:
context: .
platforms: linux/amd64,linux/arm64
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
make-dist:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: actions/setup-node@v3
with:
node-version-file: ./.node-version
Expand Down Expand Up @@ -42,24 +42,24 @@ jobs:
- name: Set IMAGE_TAG env
run: echo IMAGE_TAG=$(echo ${GITHUB_REF:11}) >> $GITHUB_ENV

- 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
id: buildx
uses: docker/setup-buildx-action@v2
uses: docker/setup-buildx-action@v3
- name: Show available platforms
run: echo ${{ steps.buildx.outputs.platforms }}
- name: Login to GitHub Container Registry
uses: docker/login-action@v2
uses: docker/login-action@v3
with:
registry: ghcr.io
username: traptitech
password: ${{ secrets.GITHUB_TOKEN }}

- name: Build and push
uses: docker/build-push-action@v4
uses: docker/build-push-action@v5
with:
context: .
push: true
Expand Down

0 comments on commit 413c78c

Please sign in to comment.