From bc1bbbd4776deb66505cc9a94be1357ac79426ec Mon Sep 17 00:00:00 2001 From: shilinlee <836160610@qq.com> Date: Fri, 1 Dec 2023 22:56:34 +0800 Subject: [PATCH] ci: fix go version to 1.19 Signed-off-by: shilinlee <836160610@qq.com> --- .github/workflows/ci.yml | 6 +++--- .github/workflows/goreleaser.yml | 2 +- .github/workflows/upload_coverage.yml | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 47b2f30..880e037 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -21,7 +21,7 @@ jobs: runs-on: ubuntu-latest timeout-minutes: 30 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: fetch-depth: 100 - name: Run commitlint @@ -32,7 +32,7 @@ jobs: runs-on: ubuntu-latest timeout-minutes: 30 steps: - - uses: actions/checkout@v1 + - uses: actions/checkout@v4 with: fetch-depth: 1 - uses: WillAbides/setup-go-faster@v1.7.0 @@ -71,7 +71,7 @@ jobs: runs-on: ${{ matrix.os }} timeout-minutes: 30 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: fetch-depth: 1 - uses: WillAbides/setup-go-faster@v1.7.0 diff --git a/.github/workflows/goreleaser.yml b/.github/workflows/goreleaser.yml index 92a1d06..bc0b3bd 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 - diff --git a/.github/workflows/upload_coverage.yml b/.github/workflows/upload_coverage.yml index c2cc123..fb538e3 100644 --- a/.github/workflows/upload_coverage.yml +++ b/.github/workflows/upload_coverage.yml @@ -16,11 +16,11 @@ jobs: fail-fast: true matrix: os: ["ubuntu-latest"] # "macOS-latest" - go: ["1.18.x"] + go: ["1.19.x"] runs-on: ${{ matrix.os }} timeout-minutes: 60 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: fetch-depth: 1 - uses: WillAbides/setup-go-faster@v1.7.0