diff --git a/.github/workflows/GoCompileTest.yml b/.github/workflows/GoCompileTest.yml index 89532c9..7016c45 100644 --- a/.github/workflows/GoCompileTest.yml +++ b/.github/workflows/GoCompileTest.yml @@ -19,7 +19,7 @@ jobs: name: Go Lint runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: actions/setup-go@v4 with: go-version: '1.21' @@ -34,7 +34,7 @@ jobs: needs: golangci-latest name: Go 1.21 Build Test steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set up Go uses: actions/setup-go@v4 with: @@ -70,7 +70,7 @@ jobs: needs: build-test name: Go Test steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set up Go uses: actions/setup-go@v4 diff --git a/.github/workflows/go-release.yml b/.github/workflows/go-release.yml index 431b721..fa7b6b4 100644 --- a/.github/workflows/go-release.yml +++ b/.github/workflows/go-release.yml @@ -13,7 +13,7 @@ jobs: release_body: ${{ steps.git-cliff.outputs.content }} steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: fetch-depth: 0 @@ -43,7 +43,7 @@ jobs: go: [ '1.20', '1.21','stable' ] name: Go ${{ matrix.go }} Build Test steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set up Go uses: actions/setup-go@v4 with: @@ -81,7 +81,7 @@ jobs: environment: production name: Go Test steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set up Go uses: actions/setup-go@v4 with: @@ -105,7 +105,7 @@ jobs: - name: Get version id: get_version run: echo "CURRENT_VERSION=${GITHUB_REF/refs\/tags\//}" >> $GITHUB_ENV - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: hamster1963/go-release-action@v1.2 with: github_token: ${{ secrets.GITHUB_TOKEN }} # 一个默认的变量,用来实现往 Release 中添加文件