Skip to content

Update test for heroku-24 #515

Update test for heroku-24

Update test for heroku-24 #515

Workflow file for this run

name: build
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
test:
name: Testing
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v3
with:
go-version: 1.17.x
- run: go test -race -timeout=10s -coverprofile=coverage.out -parallel=4 ./...
- run: go tool cover -html=coverage.out -o coverage.html
- uses: actions/upload-artifact@v3
with:
name: coverage
path: coverage.html
- run: go fmt ./...
golangci:
name: lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: golangci/golangci-lint-action@v3.4.0
with:
version: v1.57