Relax Procfile
processes definition regex (#130)
#508
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
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/[email protected] | |
with: | |
version: v1.57 | |