We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 49cde93 commit 2c0f32fCopy full SHA for 2c0f32f
.gitlab-ci.yml
@@ -2,7 +2,6 @@ variables:
2
GOPATH: /go
3
GOLANG_VERSION: "1.23.0"
4
GOLINT_VERSION: "v1.60.3"
5
- GOPRIVATE: "gitlab.com/flarenetwork/*,gitlab.com/ryancollingham/*"
6
COVERAGE_FILE: "coverage.out"
7
COBERTURA_FILE: "coverage.xml"
8
@@ -16,14 +15,10 @@ variables:
16
15
workflow:
17
rules:
18
- if: $CI_PIPELINE_SOURCE == 'merge_request_event'
+ - if: $CI_PIPELINE_SOURCE == 'push'
19
- if: $CI_COMMIT_TAG
20
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
21
22
-default:
23
- before_script:
24
- - echo -e "machine gitlab.com\nlogin gitlab-ci-token\npassword ${CI_JOB_TOKEN}" > ~/.netrc
25
-
26
27
build:
28
stage: build
29
image: golang:${GOLANG_VERSION}
0 commit comments