Skip to content

Merge pull request #48 from jkawamoto/hotfix/v0.7.2 #8

Merge pull request #48 from jkawamoto/hotfix/v0.7.2

Merge pull request #48 from jkawamoto/hotfix/v0.7.2 #8

Workflow file for this run

name: Go application
on:
push:
branches:
- main
pull_request:
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: ">=1.20"
- name: Run pre-commit hook
uses: pre-commit/action@v3.0.1
- name: Run tests
run: go test -race -coverprofile=coverage.out -covermode=atomic -v ./...
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v4
test-windows:
runs-on: windows-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: ">=1.20"
- name: Run tests
run: go test -race -v ./...