Update my-first-workflow.yaml
This commit is contained in:
@@ -7,7 +7,6 @@ clone:
|
||||
settings:
|
||||
depth: 50
|
||||
lfs: false
|
||||
use-ssh: true
|
||||
|
||||
steps:
|
||||
- name: build
|
||||
@@ -16,7 +15,12 @@ steps:
|
||||
- echo "This is the build step"
|
||||
- echo "binary-data-123" > executable
|
||||
- name: a-test-step
|
||||
image: golang:1.16
|
||||
image: golang:1.25
|
||||
commands:
|
||||
- echo "Testing ..."
|
||||
- ./executable
|
||||
go build -v \
|
||||
-p=4 \
|
||||
-trimpath \
|
||||
-buildvcs=false \
|
||||
-ldflags "-s -w -buildid= -extldflags '-static'" \
|
||||
-o ./build/${CI_COMMIT_SHA} \
|
||||
./logic
|
||||
|
||||
Reference in New Issue
Block a user