diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index bfb7799..7a90fb6 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -18,7 +18,7 @@ jobs: go-version: ${{ matrix.go-version }} - name: Checkout code - uses: actions/checkout@v4 + uses: actions/checkout@v5 - name: Verify dependencies run: go mod verify diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index 239e51d..ff5a2b6 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -38,7 +38,7 @@ jobs: steps: - name: Checkout repository - uses: actions/checkout@v4 + uses: actions/checkout@v5 # Initializes the CodeQL tools for scanning. - name: Initialize CodeQL diff --git a/.github/workflows/coverage-badges.yml b/.github/workflows/coverage-badges.yml index 8604523..05a29e2 100644 --- a/.github/workflows/coverage-badges.yml +++ b/.github/workflows/coverage-badges.yml @@ -12,7 +12,7 @@ jobs: name: Update coverage badge steps: - name: Checkout - uses: actions/checkout@v4 + uses: actions/checkout@v5 with: persist-credentials: false # otherwise, the token used is the GITHUB_TOKEN, instead of your personal access token. fetch-depth: 0 # otherwise, there would be errors pushing refs to the destination repository. diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml index 5a19e04..f762364 100644 --- a/.github/workflows/pr.yml +++ b/.github/workflows/pr.yml @@ -18,7 +18,7 @@ jobs: go-version: ${{ matrix.go-version }} - name: Checkout code - uses: actions/checkout@v4 + uses: actions/checkout@v5 - name: Verify dependencies run: go mod verify diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index ce521f6..2f7f631 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -10,7 +10,7 @@ jobs: name: publish-latest runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v5 with: fetch-depth: 0 - name: Set up Go diff --git a/.github/workflows/version-bump.yml b/.github/workflows/version-bump.yml index 3c25a6a..d419853 100644 --- a/.github/workflows/version-bump.yml +++ b/.github/workflows/version-bump.yml @@ -11,7 +11,7 @@ jobs: build: runs-on: ubuntu-22.04 steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v5 with: ref: ${{ github.event.pull_request.head.sha }} fetch-depth: "0"