Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: Test caching to speed up test action #1812

Merged
merged 5 commits into from
Aug 28, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions .github/workflows/multi_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@ jobs:
uses: actions/setup-go@v5
with:
go-version-file: go.mod
cache-dependency-path: |
go.sum
**/go.sum
- name: Build
run: make build-linux
- name: Scan Third Party Dependency Licenses
Expand All @@ -31,6 +34,9 @@ jobs:
with:
go-version: "1.21"
check-latest: true
cache-dependency-path: |
go.sum
**/go.sum
- name: Build
run: make build-darwin
- name: Scan Third Party Dependency Licenses
Expand All @@ -47,6 +53,9 @@ jobs:
with:
go-version: "1.21"
check-latest: true
cache-dependency-path: |
go.sum
**/go.sum
- name: Build
run: make build-windows
- name: Scan Third Party Dependency Licenses
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@ jobs:
uses: actions/setup-go@v5
with:
go-version-file: go.mod
cache-dependency-path: |
go.sum
**/go.sum
- name: Run Tests
run: make test
- name: Run Updater Integration Tests (non-linux)
Expand Down
Loading