mirror of
https://github.com/ProtonMail/proton-bridge.git
synced 2025-12-19 00:27:06 +00:00
GODT-1395: CI should fail on go.sum changed.
This commit is contained in:
@ -85,11 +85,17 @@ dependency-updates:
|
|||||||
stage: build
|
stage: build
|
||||||
only:
|
only:
|
||||||
- branches
|
- branches
|
||||||
|
before_script:
|
||||||
|
- mkdir -p .cache/bin
|
||||||
|
- export PATH=$(pwd)/.cache/bin:$PATH
|
||||||
|
- export GOPATH="$CI_PROJECT_DIR/.cache"
|
||||||
script:
|
script:
|
||||||
- make build
|
- make build
|
||||||
|
- git diff && git diff-index --quiet HEAD
|
||||||
artifacts:
|
artifacts:
|
||||||
# Note: The latest artifacts for refs are locked against deletion, and kept regardless of the expiry time.
|
# Note: The latest artifacts for refs are locked against deletion, and kept
|
||||||
# Introduced in GitLab 13.0 behind a disabled feature flag, and made the default behavior in GitLab 13.4.
|
# regardless of the expiry time. Introduced in GitLab 13.0 behind a
|
||||||
|
# disabled feature flag, and made the default behavior in GitLab 13.4.
|
||||||
expire_in: 1 day
|
expire_in: 1 day
|
||||||
tags:
|
tags:
|
||||||
- large
|
- large
|
||||||
|
|||||||
Reference in New Issue
Block a user