include: - template: Security/Secret-Detection.gitlab-ci.yml - project: 'developerdurp/yml' ref: 'main' file: - 'jobs/golang.yml' gobuild: variables: GOPROXY: https://nexus.durp.info/repository/go/ extends: .golang-build stage: build rules: - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH || $CI_COMMIT_BRANCH =~ '/^release/' || $CI_MERGE_REQUEST_IID exists: - "go.mod"