From 98b9429980ddaef93059c48cf42ca1f23bc94ed6 Mon Sep 17 00:00:00 2001 From: Sebastian Widmer Date: Tue, 25 Jun 2024 14:24:18 +0200 Subject: [PATCH] Remove Go cache step, `setup-go@v5` already does that automatically (#28) --- .github/workflows/build.yml | 7 ------- .github/workflows/lint.yml | 7 ------- .github/workflows/test.yml | 7 ------- 3 files changed, 21 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index ffaf9da..83c03ec 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -21,12 +21,5 @@ jobs: with: go-version: ${{ env.GO_VERSION }} - - uses: actions/cache@v4 - with: - path: ~/go/pkg/mod - key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }} - restore-keys: | - ${{ runner.os }}-go- - - name: Run build run: make build diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index b83139f..2d87b6f 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -16,12 +16,5 @@ jobs: with: go-version: ${{ env.GO_VERSION }} - - uses: actions/cache@v4 - with: - path: ~/go/pkg/mod - key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }} - restore-keys: | - ${{ runner.os }}-go- - - name: Run linters run: make lint diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 9dc1f94..3462e6c 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -21,12 +21,5 @@ jobs: with: go-version: ${{ env.GO_VERSION }} - - uses: actions/cache@v4 - with: - path: ~/go/pkg/mod - key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }} - restore-keys: | - ${{ runner.os }}-go- - - name: Run tests run: make test