Skip to content

Commit

Permalink
ci: change dagger module for go-test (#79)
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 <francesco.canovai@enterprisedb.com>
  • Loading branch information
fcanovai authored Sep 23, 2024
1 parent 91bad23 commit bb2b073
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions Taskfile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,17 +49,19 @@ tasks:
go-test:
desc: Run go test
env:
# TODO: configure renovate
# renovate: datasource=docker depName=golang versioning=semver
GOLANG_IMAGE_VERSION: 1.23.1
# renovate: datasource=git-refs depName=gotest lookupName=https://github.com/Excoriate/daggerverse currentValue=main
DAGGER_GOTEST_SHA: 69b71c6f9d33a39f2650983e251226d0938220be
# 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@90a5d911a70510f9004544d4a25d39d917f1f668
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

ci:
desc: Run the CI pipeline
Expand Down

0 comments on commit bb2b073

Please sign in to comment.