Skip to content

Merge pull request #19 from seriousben/dependabot/github_actions/Will… #40

Merge pull request #19 from seriousben/dependabot/github_actions/Will…

Merge pull request #19 from seriousben/dependabot/github_actions/Will… #40

Workflow file for this run

name: "CI"
on:
push:
branches:
- main
pull_request:
permissions:
contents: write
pull-requests: write
jobs:
checks:
name: "Checks"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: WillAbides/[email protected]
with:
go-version: "*"
- run: "go test -coverprofile=coverage.out -covermode=count ./..."
- run: "go vet ./..."
- uses: dominikh/[email protected]
with:
install-go: false
- name: Test Release
uses: goreleaser/goreleaser-action@v4
with:
distribution: goreleaser
version: latest
args: build --snapshot --single-target
- name: Patch Coverage
uses: seriousben/go-patch-cover-action@v1
with:
version: main