Skip to content

Commit

Permalink
build: fix cache-dependency-path (#61)
Browse files Browse the repository at this point in the history
* build: fix cache-dependency-path

Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>

* build: fix cache-dependency-path

Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>

---------

Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
  • Loading branch information
caarlos0 authored Apr 2, 2024
1 parent 2949b02 commit 5606d28
Show file tree
Hide file tree
Showing 12 changed files with 12 additions and 12 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/editor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,6 @@ jobs:
with:
go-version-file: ./editor/go.mod
cache: true
cache-dependency-path: ./editor.sum
cache-dependency-path: ./editor/go.sum
- run: go build -v ./...
- run: go test -race -v ./...
2 changes: 1 addition & 1 deletion .github/workflows/errors.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,6 @@ jobs:
with:
go-version-file: ./errors/go.mod
cache: true
cache-dependency-path: ./errors.sum
cache-dependency-path: ./errors/go.sum
- run: go build -v ./...
- run: go test -race -v ./...
2 changes: 1 addition & 1 deletion .github/workflows/golden.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,6 @@ jobs:
with:
go-version-file: ./exp/golden/go.mod
cache: true
cache-dependency-path: ./exp/golden.sum
cache-dependency-path: ./exp/golden/go.sum
- run: go build -v ./...
- run: go test -race -v ./...
2 changes: 1 addition & 1 deletion .github/workflows/higherorder.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,6 @@ jobs:
with:
go-version-file: ./exp/higherorder/go.mod
cache: true
cache-dependency-path: ./exp/higherorder.sum
cache-dependency-path: ./exp/higherorder/go.sum
- run: go build -v ./...
- run: go test -race -v ./...
2 changes: 1 addition & 1 deletion .github/workflows/open.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,6 @@ jobs:
with:
go-version-file: ./exp/open/go.mod
cache: true
cache-dependency-path: ./exp/open.sum
cache-dependency-path: ./exp/open/go.sum
- run: go build -v ./...
- run: go test -race -v ./...
2 changes: 1 addition & 1 deletion .github/workflows/ordered.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,6 @@ jobs:
with:
go-version-file: ./exp/ordered/go.mod
cache: true
cache-dependency-path: ./exp/ordered.sum
cache-dependency-path: ./exp/ordered/go.sum
- run: go build -v ./...
- run: go test -race -v ./...
2 changes: 1 addition & 1 deletion .github/workflows/slice.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,6 @@ jobs:
with:
go-version-file: ./exp/slice/go.mod
cache: true
cache-dependency-path: ./exp/slice.sum
cache-dependency-path: ./exp/slice/go.sum
- run: go build -v ./...
- run: go test -race -v ./...
2 changes: 1 addition & 1 deletion .github/workflows/strings.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,6 @@ jobs:
with:
go-version-file: ./exp/strings/go.mod
cache: true
cache-dependency-path: ./exp/strings.sum
cache-dependency-path: ./exp/strings/go.sum
- run: go build -v ./...
- run: go test -race -v ./...
2 changes: 1 addition & 1 deletion .github/workflows/teatest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,6 @@ jobs:
with:
go-version-file: ./exp/teatest/go.mod
cache: true
cache-dependency-path: ./exp/teatest.sum
cache-dependency-path: ./exp/teatest/go.sum
- run: go build -v ./...
- run: go test -race -v ./...
2 changes: 1 addition & 1 deletion .github/workflows/term.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,6 @@ jobs:
with:
go-version-file: ./exp/term/go.mod
cache: true
cache-dependency-path: ./exp/term.sum
cache-dependency-path: ./exp/term/go.sum
- run: go build -v ./...
- run: go test -race -v ./...
2 changes: 1 addition & 1 deletion .github/workflows/termios.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
with:
go-version-file: ./exp/term/go.mod
cache: true
cache-dependency-path: ./exp/term.sum
cache-dependency-path: ./exp/term/go.sum
# https://go.dev/doc/install/source#environment
- run: GOOS=darwin GOARCH=amd64 go test -c -v ./termios/...
- run: GOOS=darwin GOARCH=arm64 go test -c -v ./termios/...
Expand Down
2 changes: 1 addition & 1 deletion scripts/builds
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# shellcheck disable=SC2016
find . -type f -name go.mod | sort | while read -r mod; do
name="$(basename "$(dirname "$mod")")"
sum="$(dirname "$mod").sum"
sum="$(dirname "$mod")/go.sum"
echo "# auto-generated by scripts/dependabot. DO NOT EDIT.
name: $name
Expand Down

0 comments on commit 5606d28

Please sign in to comment.