diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index b9f8074c5..5a1de1a41 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -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 diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 967aeccd1..a491f31c0 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -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: @@ -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: @@ -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: @@ -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: @@ -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: @@ -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: @@ -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 @@ -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: diff --git a/.github/workflows/master.yml b/.github/workflows/master.yml index b5ac0cead..421d14485 100644 --- a/.github/workflows/master.yml +++ b/.github/workflows/master.yml @@ -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: @@ -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 diff --git a/.github/workflows/preview.yml b/.github/workflows/preview.yml index 94396b144..be15bfc76 100644 --- a/.github/workflows/preview.yml +++ b/.github/workflows/preview.yml @@ -18,23 +18,23 @@ 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 @@ -42,7 +42,7 @@ jobs: # 隔離された環境でビルドを行い、write perm付きトークンをユーザーのコードに与えないよう注意すること - name: Build - uses: docker/build-push-action@v4 + uses: docker/build-push-action@v5 with: context: . platforms: linux/amd64,linux/arm64 diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 92ffe5dea..c76c1ad3a 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -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 @@ -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