Skip to content

Merge pull request #33 from brokeyourbike/release-v0.16.0 #119

Merge pull request #33 from brokeyourbike/release-v0.16.0

Merge pull request #33 from brokeyourbike/release-v0.16.0 #119

Workflow file for this run

name: tests
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v4
with:
go-version-file: 'go.mod'
- uses: brokeyourbike/go-mockery-action@v0.1
with:
mockery-version: '2.42.0'
- run: make mock
- run: go build -v ./...
- run: go test -race -covermode=atomic -coverprofile=coverage.out -v ./...
- uses: paambaati/codeclimate-action@v5
continue-on-error: true
env:
CC_TEST_REPORTER_ID: ${{ secrets.CODECLIMATE_TOKEN }}
with:
prefix: 'github.com/brokeyourbike/clearbank-api-client-go'
coverageLocations: ./coverage.out:gocov
- uses: codecov/codecov-action@v3
continue-on-error: true