2021-05-03 23:58:48 +00:00
|
|
|
on: [push, pull_request]
|
|
|
|
name: Check
|
|
|
|
jobs:
|
|
|
|
check:
|
|
|
|
strategy:
|
|
|
|
matrix:
|
2023-07-26 20:52:40 +00:00
|
|
|
go-version: [1.20.x]
|
2021-05-03 23:58:48 +00:00
|
|
|
os: [ubuntu-latest, macos-latest, windows-latest]
|
|
|
|
runs-on: ${{ matrix.os }}
|
|
|
|
steps:
|
|
|
|
- name: Install Go
|
2023-02-28 16:18:14 +00:00
|
|
|
uses: actions/setup-go@v3
|
2021-05-03 23:58:48 +00:00
|
|
|
with:
|
|
|
|
go-version: ${{ matrix.go-version }}
|
|
|
|
- name: Checkout code
|
2023-02-28 16:18:14 +00:00
|
|
|
uses: actions/checkout@v3
|
2021-05-03 23:58:48 +00:00
|
|
|
- name: Test
|
|
|
|
run: make test
|