From 5563cd2f5a55db2fb418b2967e497808d1b95fd0 Mon Sep 17 00:00:00 2001 From: Jason Lee Date: Tue, 10 Dec 2024 12:07:09 +0800 Subject: [PATCH] Fix CI --- .github/workflows/go.yml | 26 ++++++++++++-------------- 1 file changed, 12 insertions(+), 14 deletions(-) diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index 21ac9d1..591a3f7 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -1,24 +1,22 @@ name: Test on: [push, pull_request] jobs: - build: name: Build runs-on: ubuntu-latest steps: + - name: Set up Go 1.18 + uses: actions/setup-go@v1 + with: + go-version: 1.18 + id: go - - name: Set up Go 1.13 - uses: actions/setup-go@v1 - with: - go-version: 1.13 - id: go - - - name: Check out code into the Go module directory - uses: actions/checkout@v1 + - name: Check out code into the Go module directory + uses: actions/checkout@v1 - - name: Get dependencies - run: | - go get -v -t -d ./... + - name: Get dependencies + run: | + go get -v -t -d ./... - - name: Test - run: go test + - name: Test + run: go test