Bump github.com/aws/aws-sdk-go from 1.44.126 to 1.54.20 #409
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
on: | |
push: | |
branches: | |
- "**" | |
- "!main" | |
name: CI | |
jobs: | |
quality: | |
name: Quality | |
timeout-minutes: 10 | |
strategy: | |
matrix: | |
os: [ubuntu-latest, macos-latest] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- name: Setup Go | |
uses: actions/setup-go@v3 | |
with: | |
go-version: 1.17 | |
- name: Go cache | |
id: cache | |
uses: actions/cache@v3 | |
with: | |
path: | | |
~/.cache/go-build | |
~/Library/Caches/go-build | |
~/go/pkg/mod | |
~/go/bin | |
key: ${{ matrix.os }}-go-${{ hashFiles('**/go.sum') }} | |
restore-keys: | | |
${{ matrix.os }}-go- | |
- name: Install dependencies | |
if: steps.cache.outputs.cache-hit != 'true' | |
run: | | |
go install github.com/mfridman/[email protected] | |
go install github.com/golangci/golangci-lint/cmd/[email protected] | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
- name: Dependency linter | |
if: matrix.os == 'ubuntu-latest' | |
run: | | |
go mod tidy | |
git add . | |
git diff --cached --exit-code | |
- name: Build | |
run: go build ./... | |
- name: Test | |
run: go test -race -cover -covermode=atomic -json ./... | tparse -all | |
- name: Go golangci-lint | |
if: matrix.os == 'ubuntu-latest' | |
run: golangci-lint run -c misc/golangci/config.yml ./... |