2024-05-13 07:56:32 +00:00
|
|
|
steps:
|
|
|
|
build:
|
|
|
|
when:
|
|
|
|
event: [push, pull_request]
|
2024-05-16 08:00:42 +00:00
|
|
|
image: docker.io/library/ubuntu:latest
|
2024-05-13 07:56:32 +00:00
|
|
|
commands:
|
2024-05-16 08:00:42 +00:00
|
|
|
- apt install -y golang
|
2024-05-13 07:56:32 +00:00
|
|
|
- go get
|
2024-05-16 08:00:42 +00:00
|
|
|
- go build
|
|
|
|
- ./main
|