Skip to content

Commit

Permalink
added cache
Browse files Browse the repository at this point in the history
  • Loading branch information
Allan-Nava authored Nov 17, 2023
1 parent 9fa2caf commit 9593204
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/go-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,12 @@ jobs:
uses: actions/setup-go@v3
with:
go-version: ${{ matrix.go-version }}
cache: true
#
- name: Build HWM Go Utils
with:
go-version: ${{ matrix.go-version }}
cache: true
run: go build -v ./...
#
#
8 changes: 6 additions & 2 deletions .github/workflows/go-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ jobs:
uses: actions/setup-go@v4
with:
go-version: ${{ matrix.go-version }}
cache-dependency-path: subdir/go.sum
#cache: true
#cache-dependency-path: subdir/go.sum
cache: true
#
# You can test your matrix by printing the current Go version
- name: Display Go version
Expand All @@ -38,6 +38,10 @@ jobs:
#
- name: Build
run: go build -v ./...
with:
go-version: ${{ matrix.go-version }}
#cache-dependency-path: subdir/go.sum
cache: true
#
- name: Test with the Go CLI
run: go test -v ./...
Expand Down

0 comments on commit 9593204

Please sign in to comment.