c4a2eef8a4
YAML interprets 1.20 as 1.2 without explicitely being a string.
21 lines
404 B
YAML
21 lines
404 B
YAML
name: coverage
|
|
on:
|
|
pull_request:
|
|
branches:
|
|
- v2
|
|
|
|
jobs:
|
|
report:
|
|
runs-on: "ubuntu-latest"
|
|
name: report
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
with:
|
|
fetch-depth: 0
|
|
- name: Setup go
|
|
uses: actions/setup-go@v3
|
|
with:
|
|
go-version: "1.20"
|
|
- name: Run tests with coverage
|
|
run: ./ci.sh coverage -d "${GITHUB_BASE_REF-HEAD}"
|