From 9fe5c0736da4de8c307c9306dd39f271f9402566 Mon Sep 17 00:00:00 2001 From: Evgenii Stratonikov Date: Mon, 15 Aug 2022 15:57:06 +0300 Subject: [PATCH] [#412] .github: Update actions to the latest version Signed-off-by: Evgenii Stratonikov --- .github/workflows/go.yml | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index 6fada0f1..48e770c4 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -20,15 +20,15 @@ jobs: go: [ '1.17.x', '1.18.x', '1.19.x' ] steps: - name: Setup go - uses: actions/setup-go@v2 + uses: actions/setup-go@v3 with: go-version: ${{ matrix.go }} - name: Check out code - uses: actions/checkout@v2 + uses: actions/checkout@v3 - name: Cache go mod - uses: actions/cache@v2 + uses: actions/cache@v3 with: path: ~/go/pkg/mod key: ${{ runner.os }}-go-${{ matrix.go }}-${{ hashFiles('**/go.sum') }} @@ -49,11 +49,16 @@ jobs: lint: runs-on: ubuntu-20.04 steps: + - name: Setup go + uses: actions/setup-go@v3 + with: + go-version: 1.19 + - name: Check out code - uses: actions/checkout@v2 + uses: actions/checkout@v3 - name: golangci-lint - uses: golangci/golangci-lint-action@v2 + uses: golangci/golangci-lint-action@v3 with: - version: v1.42.1 + version: v1.48.0 only-new-issues: true