From d30890d2572b485ba10c75a36bc9e889a5ef6520 Mon Sep 17 00:00:00 2001 From: appleboy Date: Fri, 26 Dec 2025 16:50:50 +0800 Subject: [PATCH] ci: update GitHub Actions dependencies to latest major versions - Update actions/checkout to version 6 in all workflows - Update github/codeql-action steps to version 4 in the CodeQL workflow - Upgrade actions/setup-go to version 6 in docker and goreleaser workflows - Upgrade actions/cache to version 5 in the lint workflow Signed-off-by: appleboy --- .github/workflows/codeql.yml | 6 +++--- .github/workflows/docker.yml | 4 ++-- .github/workflows/goreleaser.yml | 4 ++-- .github/workflows/lint.yml | 2 +- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index f3ceec8..d5be523 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -38,11 +38,11 @@ jobs: steps: - name: Checkout repository - uses: actions/checkout@v4 + uses: actions/checkout@v6 # Initializes the CodeQL tools for scanning. - name: Initialize CodeQL - uses: github/codeql-action/init@v3 + uses: github/codeql-action/init@v4 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@v3 + uses: github/codeql-action/analyze@v4 diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index e8ded90..447dab6 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -15,11 +15,11 @@ jobs: runs-on: ubuntu-latest steps: - name: Setup go - uses: actions/setup-go@v5 + uses: actions/setup-go@v6 with: go-version: "^1" - name: Checkout repository - uses: actions/checkout@v4 + uses: actions/checkout@v6 with: fetch-depth: 0 diff --git a/.github/workflows/goreleaser.yml b/.github/workflows/goreleaser.yml index ae284fa..2d94e1e 100644 --- a/.github/workflows/goreleaser.yml +++ b/.github/workflows/goreleaser.yml @@ -13,11 +13,11 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v4 + uses: actions/checkout@v6 with: fetch-depth: 0 - name: Setup go - uses: actions/setup-go@v5 + uses: actions/setup-go@v6 with: go-version-file: go.mod check-latest: true diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 43d2d83..88bb778 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -50,7 +50,7 @@ jobs: with: ref: ${{ github.ref }} - - uses: actions/cache@v4 + - uses: actions/cache@v5 with: path: | ${{ matrix.go-build }}