Skip to content

Update golangci-lint to fix aws-sdk-go-v2 linting issues #153

Update golangci-lint to fix aws-sdk-go-v2 linting issues

Update golangci-lint to fix aws-sdk-go-v2 linting issues #153

Workflow file for this run

name: CI build
on:
pull_request:
jobs:
ci:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Setup Go Version
run: echo "GO_VERSION=$(cat .go-version)" >> $GITHUB_ENV
- name: Setup Go
uses: actions/setup-go@v3
with:
go-version: ${{ env.GO_VERSION }}
- uses: actions/cache@v3
with:
path: ~/go/pkg/mod
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-go-
- name: Build with Goreleaser
uses: goreleaser/goreleaser-action@v3
with:
version: latest
args: release --snapshot --skip=publish --clean