Skip to content

V4 improvements

V4 improvements #4

Workflow file for this run

name: Go CI
on:
push:
branches:
- main
pull_request:
branches:
- "**"
jobs:
test:
strategy:
matrix:
go-version: [1.18, 1.23]
os: [ubuntu-latest, macos-latest, windows-latest]
fail-fast: false
runs-on: ${{ matrix.os }}
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Setup Go ${{ matrix.go }}
uses: actions/setup-go@v4
with:
go-version: ${{ matrix.go-version }}
cache: true
- name: Verify Go version
run: go version
- name: Install dependencies
run: go mod tidy
- name: Run Tests
run: go test -race -cover -coverprofile=coverage -covermode=atomic -v ./...
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3
with:
files: ./coverage