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 16, 2023
1 parent 536a22a commit 1ef3a64
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/go-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ jobs:
uses: actions/setup-go@v3
with:
go-version: ${{ matrix.go-version }}
cache-dependency-path: subdir/go.sum
cache: true
#
- name: Build
run: go build -v ./...
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/go-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ jobs:
with:
go-version: ${{ matrix.go-version }}
cache: true
cache-dependency-path: subdir/go.sum
#
# You can test your matrix by printing the current Go version
- name: Display Go version
Expand Down

0 comments on commit 1ef3a64

Please sign in to comment.