From 96a917bac5052c335c570be3b0a88af123a24841 Mon Sep 17 00:00:00 2001 From: Bo-Yi Wu Date: Fri, 6 Oct 2023 23:44:49 +0800 Subject: [PATCH] chore: update workflows to use actions/checkout@v4 - Update the `codeql-analysis.yml` workflow to use `actions/checkout@v4` instead of `actions/checkout@v3` - Update the `codeql.yml` workflow to use `actions/checkout@v4` instead of `actions/checkout@v3` - Update the `go.yml` workflow to use `actions/checkout@v4` instead of `actions/checkout@v3` - Update the `goreleaser.yml` workflow to use `actions/checkout@v4` instead of `actions/checkout@v3` Signed-off-by: Bo-Yi Wu --- .github/workflows/codeql-analysis.yml | 2 +- .github/workflows/codeql.yml | 2 +- .github/workflows/go.yml | 4 ++-- .github/workflows/goreleaser.yml | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index e9a6e08..99ef141 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -39,7 +39,7 @@ jobs: 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/codeql.yml b/.github/workflows/codeql.yml index 2d9bcdd..7de6fd5 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -38,7 +38,7 @@ jobs: 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/go.yml b/.github/workflows/go.yml index 2e959a7..78b3b68 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -17,7 +17,7 @@ jobs: with: go-version: '^1.16' - name: Checkout repository - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Setup golangci-lint uses: golangci/golangci-lint-action@v3 with: @@ -44,7 +44,7 @@ jobs: go-version: ${{ matrix.go }} - name: Checkout Code - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: ref: ${{ github.ref }} diff --git a/.github/workflows/goreleaser.yml b/.github/workflows/goreleaser.yml index cd0dd3c..0e8cafa 100644 --- a/.github/workflows/goreleaser.yml +++ b/.github/workflows/goreleaser.yml @@ -14,7 +14,7 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: fetch-depth: 0 -