From 20a18f81ced674041c2c672211931cf52cc32039 Mon Sep 17 00:00:00 2001 From: zhangchao Date: Wed, 30 Oct 2024 22:18:59 +0800 Subject: [PATCH] change ubuntu --- .gitea/workflows/go.yaml | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/.gitea/workflows/go.yaml b/.gitea/workflows/go.yaml index 4255b16..c05dc11 100644 --- a/.gitea/workflows/go.yaml +++ b/.gitea/workflows/go.yaml @@ -5,15 +5,13 @@ jobs: build: 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: Setup Go + uses: actions/setup-go@v5 + with: + go-version: '1.21.x' - name: Build run: go build -v - name: Test with the Go CLI