From 496f55eb8177086c38bab4d057c057f86eb6d399 Mon Sep 17 00:00:00 2001 From: Chris Pates Date: Mon, 30 May 2022 12:04:08 +0100 Subject: [PATCH] Update release.yml Updating go.lang version and tool dependancies. --- .github/workflows/release.yml | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index ef61772c..2e6deae7 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -16,11 +16,14 @@ jobs: - name: Setup go uses: actions/setup-go@v2 with: - go-version: '1.16.x' + go-version: '1.17.x' + + - name: Install staticcheck + run: go install honnef.co/go/tools/cmd/staticcheck@latest + + - name: Run staticcheck + run: staticcheck ./... - - name: Run Static Checks - run: go get honnef.co/go/tools/cmd/staticcheck && go install honnef.co/go/tools/cmd/staticcheck && staticcheck ./... - - name: Run Tests run: go test -p 1 -cover -race -v ./... @@ -37,7 +40,7 @@ jobs: - name: Set up Go uses: actions/setup-go@v2 with: - go-version: '1.16.x' + go-version: '1.17.x' - name: Run GoReleaser uses: goreleaser/goreleaser-action@v2