Skip to content

Merge pull request #77 from nkmr-jp/develop #198

Merge pull request #77 from nkmr-jp/develop

Merge pull request #77 from nkmr-jp/develop #198

Workflow file for this run

# See: https://docs.github.com/ja/free-pro-team@latest/actions/reference/workflow-syntax-for-github-actions
# See: https://about.codecov.io/blog/getting-started-with-code-coverage-for-golang/
name: test
on:
push:
tags:
- v*
branches:
- main
pull_request:
jobs:
unit:
name: unit
runs-on: ubuntu-latest
strategy:
matrix:
go: ["1.21.x", "1.22.x"]
include:
- go: 1.22.x
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Go
uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go }}
- name: Test
run: make cover
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v4