Skip to content

coverage report repo name #11

coverage report repo name

coverage report repo name #11

Workflow file for this run

name: Test
on:
push:
branches: ["master"]
pull_request:
branches: ["master"]
workflow_dispatch:
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version-file: ./go.mod
- name: Test
run: |
go vet ./...
go test -v ./...
- name: Update coverage report
uses: ncruces/[email protected]
with:
report: true
chart: true
ammend: true
if: |
github.event_name=='push' || github.event_name=='workflow_dispatch'
continue-on-error: true
lint:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up go
uses: actions/setup-go@v5
with:
go-version-file: ./go.mod
- name: Lint
uses: golangci/golangci-lint-action@v3
with:
args: --timeout=5m