From 408189eb2d356ed7fa10df088b80954b83b75477 Mon Sep 17 00:00:00 2001 From: Taiki Endo Date: Wed, 8 Apr 2026 00:49:23 +0900 Subject: [PATCH] ci: Update config --- .github/workflows/ci.yml | 8 ++++---- .github/workflows/manifest.yml | 3 ++- .github/workflows/release.yml | 10 +++++----- tools/manifest.sh | 5 ----- 4 files changed, 11 insertions(+), 15 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index bef91ca9..fca9607f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -95,7 +95,7 @@ jobs: runs-on: ${{ matrix.os }} timeout-minutes: 60 steps: - - uses: taiki-e/checkout-action@83ed61bfbe2b8abbb3c66e8b65b1335484c70009 # v1.4.1 + - uses: taiki-e/checkout-action@7d1e50e93dc4fb3bba58f85018fadf77898aee8b # v1.4.2 # cross attempts to install rust-src when Cargo.toml is available even if `cross --version` - run: rm -- Cargo.toml - name: Generate tool list @@ -154,7 +154,7 @@ jobs: runs-on: ubuntu-latest timeout-minutes: 60 steps: - - uses: taiki-e/checkout-action@83ed61bfbe2b8abbb3c66e8b65b1335484c70009 # v1.4.1 + - uses: taiki-e/checkout-action@7d1e50e93dc4fb3bba58f85018fadf77898aee8b # v1.4.2 # cross attempts to install rust-src when Cargo.toml is available even if `cross --version` - run: rm -- Cargo.toml - run: env @@ -187,7 +187,7 @@ jobs: runs-on: ubuntu-24.04-arm timeout-minutes: 60 steps: - - uses: taiki-e/checkout-action@83ed61bfbe2b8abbb3c66e8b65b1335484c70009 # v1.4.1 + - uses: taiki-e/checkout-action@7d1e50e93dc4fb3bba58f85018fadf77898aee8b # v1.4.2 # cross attempts to install rust-src when Cargo.toml is available even if `cross --version` - run: rm -- Cargo.toml - run: env @@ -298,7 +298,7 @@ jobs: env: CONTAINER: ${{ matrix.container }} if: startsWith(matrix.container, 'centos') - - uses: taiki-e/checkout-action@83ed61bfbe2b8abbb3c66e8b65b1335484c70009 # v1.4.1 + - uses: taiki-e/checkout-action@7d1e50e93dc4fb3bba58f85018fadf77898aee8b # v1.4.2 # cross attempts to install rust-src when Cargo.toml is available even if `cross --version` - run: rm -- Cargo.toml - name: Generate tool list diff --git a/.github/workflows/manifest.yml b/.github/workflows/manifest.yml index e6f1b649..f4fb20ec 100644 --- a/.github/workflows/manifest.yml +++ b/.github/workflows/manifest.yml @@ -33,7 +33,7 @@ concurrency: jobs: manifest: - uses: taiki-e/github-actions/.github/workflows/gen.yml@606d6c78d69927c489d319133073a03157928a7a # main + uses: taiki-e/github-actions/.github/workflows/gen.yml@7e4093bf4e87dd120ac0c3be2e47ebe7f737a47d # main permissions: contents: write # for creating branch for pr pull-requests: write # for gh pr review --approve @@ -46,3 +46,4 @@ jobs: branch: update-manifest automerge: true install-rust: true + install-cosign: true diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 0b858fb7..a0b89209 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -38,8 +38,8 @@ jobs: runs-on: ubuntu-latest timeout-minutes: 60 steps: - - uses: taiki-e/checkout-action@83ed61bfbe2b8abbb3c66e8b65b1335484c70009 # v1.4.1 - - uses: taiki-e/install-action@7bc99eee1f1b8902a125006cf790a1f4c8461e63 # v2.69.8 + - uses: taiki-e/checkout-action@7d1e50e93dc4fb3bba58f85018fadf77898aee8b # v1.4.2 + - uses: taiki-e/install-action@7a562dfa955aa2e4d5b0fd6ebd57ff9715c07b0b # v2.73.0 with: tool: parse-changelog fallback: none @@ -207,8 +207,8 @@ jobs: permissions: contents: write # for taiki-e/create-gh-release-action steps: - - uses: taiki-e/checkout-action@83ed61bfbe2b8abbb3c66e8b65b1335484c70009 # v1.4.1 - - uses: taiki-e/install-action@7bc99eee1f1b8902a125006cf790a1f4c8461e63 # v2.69.8 + - uses: taiki-e/checkout-action@7d1e50e93dc4fb3bba58f85018fadf77898aee8b # v1.4.2 + - uses: taiki-e/install-action@7a562dfa955aa2e4d5b0fd6ebd57ff9715c07b0b # v2.73.0 with: tool: parse-changelog fallback: none @@ -423,7 +423,7 @@ jobs: PREPARE_REV: ${{ needs.prepare.outputs.rev }} # Note that if we use secrets.GITHUB_TOKEN, the pushed commit/tag cannot trigger other workflows. PUSH_TOKEN: ${{ steps.push-token.outputs.token }} - - uses: taiki-e/create-gh-release-action@c5baa0b5dc700cf06439d87935e130220a6882d9 # v1.9.3 + - uses: taiki-e/create-gh-release-action@f67cf7b2dadd83d36b981e674a6b08063997ce68 # v1.10.0 with: changelog: CHANGELOG.md title: $version diff --git a/tools/manifest.sh b/tools/manifest.sh index 9fc4eca1..d5b446a2 100755 --- a/tools/manifest.sh +++ b/tools/manifest.sh @@ -11,11 +11,6 @@ cd -- "$(dirname -- "$0")"/.. # ./tools/manifest.sh [PACKAGE [VERSION_REQ]] # ./tools/manifest.sh full -if [[ -n "${GITHUB_ACTIONS:-}" ]] && ! type -P cosign; then - go install github.com/sigstore/cosign/v3/cmd/cosign@latest - sudo mv -- ~/go/bin/cosign /usr/local/bin -fi - if [[ $# -eq 1 ]] && [[ "$1" == "full" ]]; then for manifest in tools/codegen/base/*.json; do package="${manifest##*/}"