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