File tree Expand file tree Collapse file tree 1 file changed +3
-18
lines changed
Expand file tree Collapse file tree 1 file changed +3
-18
lines changed Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ on: [push, pull_request]
44
55jobs :
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 :
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"
You can’t perform that action at this time.
0 commit comments