Skip to content

Commit 613a4ef

Browse files
Remove caching
1 parent 1c1861c commit 613a4ef

File tree

1 file changed

+3
-18
lines changed

1 file changed

+3
-18
lines changed

.github/workflows/test.yaml

Lines changed: 3 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ on: [push, pull_request]
44

55
jobs:
66
build:
7-
name: 🐹 Build & Test with Go ${{ matrix.go-version }}
7+
name: 🐹 Test with Go ${{ matrix.go-version }}
88
runs-on: ubuntu-latest
99

1010
strategy:
@@ -24,21 +24,6 @@ jobs:
2424
with:
2525
go-version: ${{ matrix.go-version }}
2626

27-
- name: 🧹 Clean Go Module Cache
28-
run: rm -rf ~/go/pkg/mod
29-
30-
- name: 💾 Cache Go Modules
31-
uses: actions/cache@v3
32-
with:
33-
path: |
34-
~/.cache/go-build
35-
~/go/pkg/mod
36-
key: ${{ runner.os }}-go-${{ matrix.go-version }}-${{ hashFiles('**/go.sum') }}-v2
37-
restore-keys: |
38-
${{ runner.os }}-go-${{ matrix.go-version }}-
39-
${{ runner.os }}-go-
40-
${{ runner.os }}-
41-
4227
- name: 📦 Install Dependencies
4328
run: go mod download
4429

@@ -51,11 +36,11 @@ jobs:
5136
- name: 🧰 Install gotestsum
5237
run: go install gotest.tools/gotestsum@latest
5338

54-
- name: 🧪 Run Tests with gotestsum
39+
- name: 🧪 Run Tests
5540
run: |
5641
gotestsum --junitfile unit-tests.xml --format pkgname ./...
5742
58-
- name: 📊 Display Test Summary
43+
- name: 📊 Test Summary
5944
uses: test-summary/action@v2
6045
with:
6146
paths: "unit-tests.xml"

0 commit comments

Comments
 (0)