From 13c4ec460991bcad31f1967d06ee5f783e24ca67 Mon Sep 17 00:00:00 2001 From: Bo-Yi Wu Date: Thu, 11 Jul 2024 22:27:50 +0800 Subject: [PATCH] ci: update GitHub Actions to latest versions - Update `actions/checkout` to version `v4` in `codeql.yml` - Update `github/codeql-action/init` to version `v3` in `codeql.yml` - Update `github/codeql-action/analyze` to version `v3` in `codeql.yml` - Update `actions/checkout` to version `v4` in `goreleaser.yml` - Update `goreleaser/goreleaser-action` to version `v6` in `goreleaser.yml` Signed-off-by: Bo-Yi Wu --- .github/workflows/codeql.yml | 6 +++--- .github/workflows/goreleaser.yml | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index 1f1b0d7..f3ceec8 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -38,11 +38,11 @@ jobs: steps: - name: Checkout repository - uses: actions/checkout@v3 + uses: actions/checkout@v4 # Initializes the CodeQL tools for scanning. - name: Initialize CodeQL - uses: github/codeql-action/init@v2 + uses: github/codeql-action/init@v3 with: languages: ${{ matrix.language }} # If you wish to specify custom queries, you can do so here or in a config file. @@ -51,4 +51,4 @@ jobs: # queries: ./path/to/local/query, your-org/your-repo/queries@main - name: Perform CodeQL Analysis - uses: github/codeql-action/analyze@v2 + uses: github/codeql-action/analyze@v3 diff --git a/.github/workflows/goreleaser.yml b/.github/workflows/goreleaser.yml index 85030ea..28985b2 100644 --- a/.github/workflows/goreleaser.yml +++ b/.github/workflows/goreleaser.yml @@ -13,7 +13,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: fetch-depth: 0 - name: Setup go @@ -22,7 +22,7 @@ jobs: go-version: "^1" - name: Run GoReleaser - uses: goreleaser/goreleaser-action@v4 + uses: goreleaser/goreleaser-action@v6 with: # either 'goreleaser' (default) or 'goreleaser-pro' distribution: goreleaser