From 13d13f431d114145f6c3286d91992d1bcb86ffda Mon Sep 17 00:00:00 2001 From: Edward McFarlane Date: Mon, 2 Oct 2023 18:33:04 +0100 Subject: [PATCH 1/3] Drop github cache --- .github/workflows/ci.yaml | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 4879ad4b..ccf1fd84 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -25,12 +25,7 @@ jobs: uses: actions/setup-go@v4 with: go-version: ${{ matrix.go-version }} - - name: Cache - uses: actions/cache@v3 - with: - path: ~/go/pkg/mod - key: ${{ runner.os }}-connect-ci-${{ hashFiles('**/go.sum') }} - restore-keys: ${{ runner.os }}-connect-ci- + cache-dependency-path: go.sum - name: Test run: make test - name: Lint From 815644f6314cc3d3c97c9733ac63c11ae24fe9c1 Mon Sep 17 00:00:00 2001 From: Edward McFarlane Date: Mon, 2 Oct 2023 18:40:39 +0100 Subject: [PATCH 2/3] Drop windows cache --- .github/workflows/windows.yaml | 9 --------- 1 file changed, 9 deletions(-) diff --git a/.github/workflows/windows.yaml b/.github/workflows/windows.yaml index 49200dae..391536fa 100644 --- a/.github/workflows/windows.yaml +++ b/.github/workflows/windows.yaml @@ -25,15 +25,6 @@ jobs: uses: actions/setup-go@v4 with: go-version: ${{ matrix.go-version }} - - id: go-cache-paths - shell: bash - run: | - echo "go-mod=$(go env GOMODCACHE)" >> $GITHUB_OUTPUT - - name: Mod Cache - uses: actions/cache@v3 - with: - path: ${{ steps.go-cache-paths.outputs.go-mod }} - key: ${{ runner.os }}-connect-ci-go-mod-${{ hashFiles('**/go.sum') }} - name: Test shell: bash run: | From e07a41801b8c90517a05eea79242a356210bf7b4 Mon Sep 17 00:00:00 2001 From: Edward McFarlane Date: Mon, 2 Oct 2023 18:41:28 +0100 Subject: [PATCH 3/3] Remove default line --- .github/workflows/ci.yaml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index ccf1fd84..8ddd15e5 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -25,7 +25,6 @@ jobs: uses: actions/setup-go@v4 with: go-version: ${{ matrix.go-version }} - cache-dependency-path: go.sum - name: Test run: make test - name: Lint