Skip to content

docs: remove build badge #22

docs: remove build badge

docs: remove build badge #22

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

Check failure on line 21 in .github/workflows/golang.yml

View workflow run for this annotation

GitHub Actions / golang

Invalid workflow file

The workflow is not valid. .github/workflows/golang.yml (Line: 21, Col: 5): Required property is missing: runs-on
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: ./...