Skip to content

Merge pull request #18 from chris-ramon/golangci-lint #48

Merge pull request #18 from chris-ramon/golangci-lint

Merge pull request #18 from chris-ramon/golangci-lint #48

Workflow file for this run

name: Tests
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
Tests:
runs-on: ubuntu-latest
strategy:
matrix:
go: ["1.22.3"]
name: Go ${{ matrix.go }}
steps:
- uses: actions/checkout@v2
- name: Run Tests
uses: actions/setup-go@v2
with:
go-version: ${{ matrix.go }}
- run: GOEXPERIMENT=nocoverageredesign go test ./... -coverprofile=cov.out -covermode=atomic
- name: Codecov
uses: codecov/codecov-action@v2
with:
token: ${{ secrets.CODECOV_TOKEN }}
file: ./cov.out
flags: unittests
name: codecov-umbrella
fail_ci_if_error: true
verbose: true