Skip to content

Commit

Permalink
fix: Paths
Browse files Browse the repository at this point in the history
  • Loading branch information
janjakubnanista committed Jan 23, 2025
1 parent 0f023a6 commit 6b05668
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ commands:
steps:
- run:
name: Install mise
command: curl https://mise.run | MISE_INSTALL_PATH=/home/circleci/bin/mise sh
command: curl https://mise.run | sh
- run:
name: Activate mise
command: echo 'eval "$(mise activate bash)"' >> $BASH_ENV
Expand Down Expand Up @@ -109,7 +109,7 @@ jobs:
name: Save Go modules cache
key: gomod-contracts-build-{{ checksum "go.sum" }}
paths:
- "/home/circleci/.go_workspace/pkg/mod"
- "/go/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)" == "/home/circleci/.go_workspace/pkg/mod" # yes, it's an odd path
command: test "$(go env GOMODCACHE)" == "/go/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:
- "/home/circleci/.go_workspace/pkg/mod"
- "/go/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)" == "/home/circleci/.go_workspace/pkg/mod" # yes, it's an odd path
command: test "$(go env GOMODCACHE)" == "/go/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:
- "/home/circleci/.go_workspace/pkg/mod"
- "/go/pkg/mod"

op-program-riscv:
executor: default
Expand Down

0 comments on commit 6b05668

Please sign in to comment.