2022-10-04 04:42:20 +00:00
|
|
|
name: Go
|
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
branches: [ "master" ]
|
|
|
|
pull_request:
|
|
|
|
branches: [ "master" ]
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
|
|
|
|
build:
|
2022-10-04 04:48:45 +00:00
|
|
|
runs-on: macos-12
|
2022-10-04 04:42:20 +00:00
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v3
|
|
|
|
|
|
|
|
- name: Set up Go
|
|
|
|
uses: actions/setup-go@v3
|
|
|
|
with:
|
2023-10-13 22:31:52 +00:00
|
|
|
go-version: 1.21
|
2022-10-04 04:42:20 +00:00
|
|
|
|
|
|
|
- name: Test
|
|
|
|
run: go test -v ./...
|