diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index b2425a2..3f9cfa6 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -13,12 +13,18 @@ jobs: steps: - name: Check out code into the Go module directory - uses: actions/checkout@v3 + uses: actions/checkout@v4 + + - name: Set up Go Toolchain + uses: actions/setup-go@v5 + with: + go-version: '1.20.x' + cache: false - name: Lint - uses: golangci/golangci-lint-action@v3 + uses: golangci/golangci-lint-action@v4 with: - version: v1.51 + version: 'v1.51' build-and-test: name: Test and Build strategy: @@ -29,15 +35,16 @@ jobs: steps: - name: Check out code into the Go module directory - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Set up Go Toolchain - uses: actions/setup-go@v3 + uses: actions/setup-go@v5 with: go-version: ${{ matrix.go-version }} + cache: false - name: Cache Go artifacts - uses: actions/cache@v2 + uses: actions/cache@v4 with: path: | ~/go/pkg/mod