Skip to content

v0.11.1

v0.11.1 #215

Workflow file for this run

name: Go Test
on:
push:
branches:
- main
- develop
- 'feature-*'
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
jobs:
test_windows:
runs-on: windows-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: '1.20'
- name: Run tests
run: go test ./...
test_linux:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: '1.20'
- name: Run tests
run: go test ./...
- name: Run tests with coverage
run: go test -v -coverprofile=coverage.out ./...
- name: Generate coverage report
uses: codecov/codecov-action@v3
with:
file: ./coverage.out