Skip to content

Merge pull request #3 from senpathi/issue-02 #22

Merge pull request #3 from senpathi/issue-02

Merge pull request #3 from senpathi/issue-02 #22

Workflow file for this run

name: coverage
on:
push:
branches:
- '*'
paths-ignore:
- '**.md'
pull_request:
paths-ignore:
- '**.md'
jobs:
run:
name: Go
runs-on: ${{ matrix.operating-system }}
strategy:
matrix:
go-version: [1.22.x]
operating-system: [ubuntu-latest]
env:
GO111MODULE: on
steps:
- name: Install Go
uses: actions/setup-go@v1
with:
go-version: ${{ matrix.go-version }}
- name: Checkout
uses: actions/checkout@v2
- name: Go Test
run: go test -v -race -coverprofile=coverage.txt -covermode=atomic ./...
- name: Code Cov
uses: codecov/codecov-action@v1.5.0
with:
token: ${{ secrets.codcovToken }}