Skip to content

ci: fix missing key #23

ci: fix missing key

ci: fix missing key #23

Workflow file for this run

name: golang
on:
pull_request:
push:
branches: ["main"]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version-file: "go.mod"
cache: false
- name: test
run: go test -race
coverage:
name: Test and cover
runs-on: ubuntu-latest
permissions:
contents: write
issues: write
pull-requests: write
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 10
- uses: actions/setup-go@v5
with:
go-version-file: "go.mod"
cache: false
- uses: gwatts/go-coverage-action@v2
id: coverage
with:
coverage-threshold: 80
cover-pkg: ./...