Skip to content

chore(ci): switch to GHA #1

chore(ci): switch to GHA

chore(ci): switch to GHA #1

Workflow file for this run

name: golang
on:
pull_request:
push:
branches: ["main"]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: stable
- name: build
run: make build
- name: test
run: go test -race
coverage:
needs: build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with: { fetch-depth: 10 }
- uses: gwatts/go-coverage-action@v2
id: coverage
with:
coverage-threshold: 80
cover-pkg: ./...