From 4e728ed4f5368b122fbac2938d15997943837497 Mon Sep 17 00:00:00 2001 From: derfenix Date: Sat, 15 Apr 2023 20:17:02 +0300 Subject: [PATCH] Improve workflow --- .github/workflows/test.yaml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 144bf76..e4f313c 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -1,3 +1,4 @@ +--- name: test on: @@ -12,15 +13,15 @@ jobs: steps: - name: Setup Go - uses: actions/setup-go@v3 + uses: https://github.com/actions/setup-go@v3 with: go-version: 1.20.x - name: Checkout code - uses: actions/checkout@v3 + uses: https://github.com/actions/checkout@v3 - name: go mod package cache - uses: actions/cache@v3 + uses: https://github.com/actions/cache@v3 with: path: | ~/.cache/go-build @@ -33,7 +34,7 @@ jobs: run: go test ./... - name: golangci-lint - uses: golangci/golangci-lint-action@v3 + uses: https://github.com/golangci/golangci-lint-action@v3 with: # Optional: version of golangci-lint to use in form of v1.2 or v1.2.3 or `latest` to use the latest version version: latest