lf/.github/workflows/go.yml

29 lines
436 B
YAML
Raw Normal View History

2021-06-19 22:12:57 +00:00
name: Go
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
2022-01-22 11:12:37 +00:00
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest]
2021-06-19 22:12:57 +00:00
steps:
- uses: actions/checkout@v2
- name: Set up Go
uses: actions/setup-go@v2
with:
2022-01-22 11:44:54 +00:00
go-version: 1.17
2021-06-19 22:12:57 +00:00
- name: Build
run: go build -v ./...
- name: Test
run: go test -v ./...