Skip to content

Commit

Permalink
ci: change dagger module for go-test (#48)
Browse files Browse the repository at this point in the history
The module we were using doesn't exist anymore.

Signed-off-by: Francesco Canovai <[email protected]>
  • Loading branch information
fcanovai authored Sep 23, 2024
1 parent e1ee5d2 commit 3a6f1f3
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions Taskfile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,15 +51,16 @@ tasks:
desc: Run go test
env:
# renovate: datasource=docker depName=golang versioning=semver
GOLANG_IMAGE_VERSION: 1.22.5
# renovate: datasource=git-refs depName=gotest lookupName=https://github.com/Excoriate/daggerverse currentValue=main
DAGGER_GOTEST_SHA: 90a5d911a70510f9004544d4a25d39d917f1f668
GOLANG_IMAGE_VERSION: 1.23.1
# renovate: datasource=git-refs depName=go lookupName=https://github.com/sagikazarmark/daggerverse currentValue=main
DAGGER_GO_SHA: 89a5a332f2ad1a182e6e8172f6872c4ab3ada507
cmds:
- >
GITHUB_REF= dagger -s call -m github.com/Excoriate/daggerverse/gotest@${DAGGER_GOTEST_SHA}
base --image-url golang:${GOLANG_IMAGE_VERSION}
GITHUB_REF= dagger -s call -m github.com/sagikazarmark/daggerverse/go@${DAGGER_GO_SHA}
--version ${GOLANG_IMAGE_VERSION}
with-cgo-disabled
run-go-test --src .
exec --src . --args go --args test --args './...'
stdout
sources:
- ./**/*.go

Expand Down

0 comments on commit 3a6f1f3

Please sign in to comment.