container up

This commit is contained in:
zhangchao
2024-10-31 08:55:31 +08:00
parent 770482d05d
commit 9a795f4c2c

View File

@@ -6,17 +6,18 @@ jobs:
name: Build and test
runs-on: ubuntu-latest
container:
image: golang:latest
env:
GO111MODULE: on
GOPROXY: https://goproxy.cn,direct
ports:
- 8080
steps:
- uses: actions/checkout@v4
- name: Build
container:
image: golang:latest
env:
GO111MODULE: on
GOPROXY: https://goproxy.cn,direct
ports:
- 8080
run: go build -v
- name: Test with the Go CLI
run: go test