Skip to content

v1.3.7

v1.3.7 #12

Workflow file for this run

# =============================================================================
# Update CodeCov
# =============================================================================
# This Workflow to updates the coverage to CodeCov.io on release.
name: Update codecov.io
on:
workflow_dispatch:
release:
types:
- created
tags:
- 'v*'
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 2
- uses: actions/setup-go@v3
with:
go-version: '1.17'
check-latest: true
- name: Run coverage
run: go test -coverprofile=coverage.txt -covermode=atomic ./...
- name: Upload coverage to Codecov
run: bash <(curl -s https://codecov.io/bash)