From 67668ba8445b835895a8d832be5e2e88fcdf48f9 Mon Sep 17 00:00:00 2001 From: Patrick Zheng Date: Tue, 8 Aug 2023 09:31:30 +0800 Subject: [PATCH 1/2] fixed workflow go version Signed-off-by: Patrick Zheng --- .github/workflows/build.yml | 2 ++ .github/workflows/codeql.yml | 1 + .github/workflows/dev-release.yml | 2 ++ .github/workflows/release-github.yml | 2 ++ 4 files changed, 7 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 9b006894e..2a9e68436 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -34,6 +34,8 @@ jobs: uses: actions/setup-go@fac708d6674e30b6ba41289acaab6d4b75aa0753 # v4.0.1 with: go-version: ${{ matrix.go-version }} + cache: false + check-latest: true - name: Check out code uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3 - name: Cache Go modules diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index 746a679aa..b59bba4be 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -43,6 +43,7 @@ jobs: uses: actions/setup-go@fac708d6674e30b6ba41289acaab6d4b75aa0753 # v4.0.1 with: go-version: ${{ matrix.go-version }} + cache: false check-latest: true - name: Initialize CodeQL uses: github/codeql-action/init@1813ca74c3faaa3a2da2070b9b8a0b3e7373a0d8 # v2.21.0 diff --git a/.github/workflows/dev-release.yml b/.github/workflows/dev-release.yml index 842bebb30..9406f4a89 100644 --- a/.github/workflows/dev-release.yml +++ b/.github/workflows/dev-release.yml @@ -31,6 +31,8 @@ jobs: uses: actions/setup-go@fac708d6674e30b6ba41289acaab6d4b75aa0753 # v4.0.1 with: go-version: ${{ matrix.go-version }} + cache: false + check-latest: true - name: Checkout uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3 with: diff --git a/.github/workflows/release-github.yml b/.github/workflows/release-github.yml index 558491c0a..10b4bea52 100644 --- a/.github/workflows/release-github.yml +++ b/.github/workflows/release-github.yml @@ -36,6 +36,8 @@ jobs: uses: actions/setup-go@fac708d6674e30b6ba41289acaab6d4b75aa0753 # v4.0.1 with: go-version: ${{ matrix.go-version }} + cache: false + check-latest: true - name: Checkout uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3 with: From fa1ed83e10292d36a025eb023db6efd0722f5ee1 Mon Sep 17 00:00:00 2001 From: Patrick Zheng Date: Tue, 8 Aug 2023 10:17:37 +0800 Subject: [PATCH 2/2] update Signed-off-by: Patrick Zheng --- .github/workflows/build.yml | 1 - .github/workflows/codeql.yml | 1 - .github/workflows/dev-release.yml | 1 - .github/workflows/release-github.yml | 1 - 4 files changed, 4 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 2a9e68436..471fb62e1 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -34,7 +34,6 @@ jobs: uses: actions/setup-go@fac708d6674e30b6ba41289acaab6d4b75aa0753 # v4.0.1 with: go-version: ${{ matrix.go-version }} - cache: false check-latest: true - name: Check out code uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3 diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index b59bba4be..746a679aa 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -43,7 +43,6 @@ jobs: uses: actions/setup-go@fac708d6674e30b6ba41289acaab6d4b75aa0753 # v4.0.1 with: go-version: ${{ matrix.go-version }} - cache: false check-latest: true - name: Initialize CodeQL uses: github/codeql-action/init@1813ca74c3faaa3a2da2070b9b8a0b3e7373a0d8 # v2.21.0 diff --git a/.github/workflows/dev-release.yml b/.github/workflows/dev-release.yml index 9406f4a89..1d6d7a0d6 100644 --- a/.github/workflows/dev-release.yml +++ b/.github/workflows/dev-release.yml @@ -31,7 +31,6 @@ jobs: uses: actions/setup-go@fac708d6674e30b6ba41289acaab6d4b75aa0753 # v4.0.1 with: go-version: ${{ matrix.go-version }} - cache: false check-latest: true - name: Checkout uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3 diff --git a/.github/workflows/release-github.yml b/.github/workflows/release-github.yml index 10b4bea52..b168afd07 100644 --- a/.github/workflows/release-github.yml +++ b/.github/workflows/release-github.yml @@ -36,7 +36,6 @@ jobs: uses: actions/setup-go@fac708d6674e30b6ba41289acaab6d4b75aa0753 # v4.0.1 with: go-version: ${{ matrix.go-version }} - cache: false check-latest: true - name: Checkout uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3