From b790115a268753d68cd72efb630aaaf59202df04 Mon Sep 17 00:00:00 2001 From: Aliaksandr Babai Date: Thu, 9 Feb 2023 15:06:32 +0300 Subject: [PATCH] chore(ci): update workflow --- .github/workflows/ci.yml | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b000731..570fb43 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -9,23 +9,25 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 - - uses: actions/setup-go@v1 + - uses: actions/checkout@v3 + - uses: actions/setup-go@v3 with: go-version: 1.16 - run: go version - - uses: actions/cache@v2 + - uses: actions/cache@v3 with: - path: ~/go/pkg/mod + path: | + ~/.cache/go-build + ~/go/pkg/mod key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }} restore-keys: | ${{ runner.os }}-go- - name: Lint - uses: golangci/golangci-lint-action@v2 + uses: golangci/golangci-lint-action@v3 with: - version: v1.48.0 + version: v1.50 - name: Build run: make build - name: Test run: make test - - uses: codecov/codecov-action@v1 + - uses: codecov/codecov-action@v3