Skip to content

add coverage tip to readme #65

add coverage tip to readme

add coverage tip to readme #65

Workflow file for this run

on: [push, pull_request]
name: CI
jobs:
test:
strategy:
matrix:
go-version: [1.18.x, 1.19.x]
os: [ubuntu-latest, macos-latest, windows-latest]
runs-on: ${{ matrix.os }}
steps:
- name: Install Go
uses: actions/setup-go@v2
with:
go-version: ${{ matrix.go-version }}
- name: Checkout code
uses: actions/checkout@v2
- name: Lint
run: |
go vet .
gofmt -l -s -w .
- name: Install cleanenv
run: go install ./cmd/cleanenv
- name: Test
run: cleanenv -remove-prefix GITHUB_ -remove-prefix JAVA_ -- go test -v -race -timeout 5m ./...
- name: Install
run: go install