diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5559fd2..e05d7fe 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -29,7 +29,7 @@ jobs: cache: false - name: Check out code into the Go module directory - uses: actions/checkout@v4 + uses: actions/checkout@v6 - name: Print Go environment id: vars diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index f8d1fe9..1c0e7d9 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -21,7 +21,7 @@ jobs: steps: - name: Checkout repository - uses: actions/checkout@v4 + uses: actions/checkout@v6 with: # We must fetch at least the immediate parents so that if this is # a pull request then we can checkout the head. diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index ea66254..a546f5a 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -10,7 +10,7 @@ jobs: name: GolangCi-Lint runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v6 - name: Run golangci-lint uses: golangci/golangci-lint-action@v6 with: # BUG: typecheck error when enable all diff --git a/.github/workflows/pr_review_dog.yml b/.github/workflows/pr_review_dog.yml index 3abe700..d994b6c 100644 --- a/.github/workflows/pr_review_dog.yml +++ b/.github/workflows/pr_review_dog.yml @@ -17,7 +17,7 @@ jobs: go-version: "1.22.x" - name: Check out code into the Go module directory - uses: actions/checkout@v4 + uses: actions/checkout@v6 - name: golangci-lint uses: reviewdog/action-golangci-lint@v2 diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index de8f15c..d402d6d 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -16,7 +16,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Check out code - uses: actions/checkout@v4 + uses: actions/checkout@v6 with: fetch-depth: 0 - run: git fetch --force --tags