diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml deleted file mode 100644 index f4ad51a..0000000 --- a/.gitlab-ci.yml +++ /dev/null @@ -1,26 +0,0 @@ -image: golang:1.24 - -stages: - - test - - build - -format: - stage: test - script: - # - go fmt $(go list ./... | grep -v /vendor/) - # - go vet $(go list ./... | grep -v /vendor/) - # - go test -race $(go list ./... | grep -v /vendor/) - gofmt -l -d *.go - -compile: - stage: build - before_script: - - git config --global url.https://gitlab-ci-token:${CI_JOB_TOKEN}@${CI_SERVER_HOST}.insteadOf https://${CI_SERVER_HOST} - - export GOPRIVATE=${CI_SERVER_HOST} - script: - - mkdir -p mybinaries - - go build -o mybinaries ./... - artifacts: - paths: - - mybinaries -