Skip to content

Merge pull request #32 from jbowes/update-masterminds-semver #85

Merge pull request #32 from jbowes/update-masterminds-semver

Merge pull request #32 from jbowes/update-masterminds-semver #85

Workflow file for this run

name: Go
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: 1.18
- name: Build
run: go build -v ./...
- name: Test
run: go test -v ./... -race -coverprofile=coverage.txt -covermode=atomic
- name: Upload coverage to Codecov
run: bash <(curl -s https://codecov.io/bash)
golangci:
name: lint
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
- name: golangci-lint
uses: golangci/golangci-lint-action@v3
with:
version: latest