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

Do not cache modules #392

Merged
merged 6 commits into from
Mar 24, 2022
Merged
Show file tree
Hide file tree
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
WIP
  • Loading branch information
AlekSi committed Mar 24, 2022
commit 1c63ab6e76fac9dd627913bbbcd37944ef5c630d
8 changes: 5 additions & 3 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -81,10 +81,12 @@ jobs:
with:
cache-key: build

- name: Download tools modules
run: go mod download
working-directory: tools

- name: Install Task
run: |
go mod download
go generate -x
run: go generate -x
working-directory: tools

- name: Run init
Expand Down
16 changes: 10 additions & 6 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,12 @@ jobs:
with:
cache-key: test

- name: Download tools modules
run: go mod download
working-directory: tools

- name: Install Task
run: |
go mod download
go generate -x
run: go generate -x
working-directory: tools

- name: Start environment
Expand Down Expand Up @@ -92,10 +94,12 @@ jobs:
with:
cache-key: fuzz

- name: Download tools modules
run: go mod download
working-directory: source/tools

- name: Install Task
run: |
go mod download
go generate -x
run: go generate -x
working-directory: source/tools

- name: Start pulling environment in the background
Expand Down