Update my-first-workflow.yaml

This commit is contained in:
2026-01-26 10:49:46 +08:00
committed by GitHub
parent 2ee90ad49e
commit 24f2ff0c8c

View File

@@ -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