Skip to content

Bump aws-sdk-go, s3, ses{,v2}, typeparams, x/tools #29

Bump aws-sdk-go, s3, ses{,v2}, typeparams, x/tools

Bump aws-sdk-go, s3, ses{,v2}, typeparams, x/tools #29

Workflow file for this run

name: Run Tests
on: [push, pull_request]
jobs:
ci:
name: "Run Tests"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: 1.20.x
- name: Install dependencies
run: go get ./...
- name: Check that go.mod is tidy
run: |
go mod tidy
result="$(git diff)" && echo "$result" && [[ -z "$result" ]]
- name: Run static checks
run: |
go fmt ./...
result="$(git diff)" && echo "$result" && [[ -z "$result" ]]
go vet ./...
go run honnef.co/go/tools/cmd/staticcheck -tags=all_tests ./...
- name: Build
run: go build -v -tags=all_tests ./...
- name: Run small tests and contract tests
run: |
go test -covermode=count -coverprofile=coverage.out \
-tags=small_tests,contract_tests ./...
- name: Send test coverage to Coveralls.io
uses: coverallsapp/github-action@v2
with:
file: coverage.out