From 4102ad918b442d57da931a16e5f646cd17cebd1e Mon Sep 17 00:00:00 2001 From: forDecember <1921567337@qq.com> Date: Wed, 13 Nov 2024 00:35:20 +0800 Subject: [PATCH] update: actions --- .github/workflows/go.yml | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index 1e9fcdd..dc0ed33 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -14,15 +14,18 @@ jobs: build: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 + - name: Create Directory + run: mkdir public && mkdir -p store/logs/ - - name: Set up Go - uses: actions/setup-go@v4 - with: - go-version: '1.20' + - uses: actions/checkout@v4 - - name: Build - run: go build -v ./... + - name: Set up Go + uses: actions/setup-go@v4 + with: + go-version: '1.22.5' + + - name: Build + run: go build -v ./... # - name: Test # run: go test -v ./...