container up
This commit is contained in:
@@ -6,10 +6,6 @@ jobs:
|
||||
name: Build and test
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
- name: Build
|
||||
container:
|
||||
image: golang:latest
|
||||
env:
|
||||
@@ -17,6 +13,11 @@ jobs:
|
||||
GOPROXY: https://goproxy.cn,direct
|
||||
ports:
|
||||
- 8080
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
- name: Build
|
||||
|
||||
run: go build -v
|
||||
- name: Test with the Go CLI
|
||||
run: go test
|
||||
Reference in New Issue
Block a user