From 6afdededb457e9945dda3d825744f86bf5fffecd Mon Sep 17 00:00:00 2001 From: vicanso Date: Fri, 9 Feb 2024 09:24:39 +0800 Subject: [PATCH] chore: update workflows --- .github/workflows/test.yml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index cf09245..754e8b5 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -20,14 +20,13 @@ jobs: - '1.19' steps: + - name: Check out code into the Go module directory + uses: actions/checkout@v4 - name: Go ${{ matrix.go }} test - uses: actions/setup-go@v2 + uses: actions/setup-go@v5 with: go-version: ${{ matrix.go }} - - name: Check out code into the Go module directory - uses: actions/checkout@v2 - - name: Get dependencies run: curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin latest