Skip to content

ci: improve Go caching #7954

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

Merged
merged 27 commits into from
Jun 12, 2023
Merged
Changes from 1 commit
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
Prev Previous commit
Next Next commit
Dump env
  • Loading branch information
ammario committed Jun 10, 2023
commit ece4e2a3862d7aaea8d981da2661e088d234284c
11 changes: 7 additions & 4 deletions .github/actions/setup-go/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,11 @@ inputs:
runs:
using: "composite"
steps:
- name: dump env
shell: bash
run: |
env

- name: Cache go toolchain
uses: buildjet/cache@v3
with:
Expand Down Expand Up @@ -41,10 +46,8 @@ runs:
gocache-

- name: Install gotestsum
uses: jaxxstorm/action-install-gh-release@v1.10.0
with:
repo: gotestyourself/gotestsum
tag: v1.9.0
shell: bash
run: go install gotest.tools/gotestsum@latest
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does not work on Windows AFAIK

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why?


# It isn't necessary that we ever do this, but it helps
# separate the "setup" from the "run" times.
Expand Down