Skip to content

Commit

Permalink
fix: GOMODCACHE
Browse files Browse the repository at this point in the history
  • Loading branch information
janjakubnanista committed Jan 23, 2025
1 parent bb2b5c5 commit c57578d
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ jobs:
name: Save Go modules cache
key: gomod-contracts-build-{{ checksum "go.sum" }}
paths:
- "/go/pkg/mod"
- "/home/circleci/.go_workspace/pkg/mod"
- save_cache:
name: Save Go build cache
key: golang-build-cache-contracts-build-{{ checksum "go.sum" }}
Expand All @@ -135,7 +135,7 @@ jobs:
name: Restore Go modules cache for monorepo
- run:
name: Sanity check go mod cache path
command: test "$(go env GOMODCACHE)" == "/go/pkg/mod" # yes, it's an odd path
command: test "$(go env GOMODCACHE)" == "/home/circleci/.go_workspace/pkg/mod" # yes, it's an odd path
working_directory: rvsol/lib/optimism
- run:
command: go mod download
Expand All @@ -156,7 +156,7 @@ jobs:
key: gomod-{{ checksum "rvsol/lib/optimism/go.sum" }}
name: Save Go modules cache
paths:
- "/go/pkg/mod"
- "/home/circleci/.go_workspace/pkg/mod"

go-mod-download-asterisc:
executor: default
Expand All @@ -168,15 +168,15 @@ jobs:
name: Restore Go modules cache
- run:
name: Sanity check go mod cache path
command: test "$(go env GOMODCACHE)" == "/go/pkg/mod" # yes, it's an odd path
command: test "$(go env GOMODCACHE)" == "/home/circleci/.go_workspace/pkg/mod" # yes, it's an odd path
- run:
command: go mod download
name: Download Go module dependencies
- save_cache:
key: gomod-{{ checksum "go.sum" }}
name: Save Go modules cache
paths:
- "/go/pkg/mod"
- "/home/circleci/.go_workspace/pkg/mod"

op-program-riscv:
executor: default
Expand Down

0 comments on commit c57578d

Please sign in to comment.