2021-05-03 23:58:48 +00:00
|
|
|
on: [push, pull_request]
|
|
|
|
name: Check
|
|
|
|
jobs:
|
|
|
|
check:
|
|
|
|
strategy:
|
|
|
|
matrix:
|
2024-05-07 10:19:58 +00:00
|
|
|
go-version: [1.22.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-12-07 07:42:47 +00:00
|
|
|
uses: actions/setup-go@v5
|
2021-05-03 23:58:48 +00:00
|
|
|
with:
|
|
|
|
go-version: ${{ matrix.go-version }}
|
|
|
|
- name: Checkout code
|
2023-12-07 07:39:50 +00:00
|
|
|
uses: actions/checkout@v4
|
2021-05-03 23:58:48 +00:00
|
|
|
- name: Test
|
|
|
|
run: make test
|