1
0
mirror of https://github.com/danog/liquid.git synced 2024-11-30 06:08:57 +01:00
liquid/.github/workflows/go.yml
Oliver Steele f13e7dab1c Update for go1.17 tooling changes
- Update golang.org/x/tools
- `go get` -> `go install` stringer
2022-02-12 18:38:48 +08:00

31 lines
539 B
YAML

name: Build Status
on:
push:
branches: [ main, master ]
pull_request:
branches: [ main, master ]
jobs:
test:
strategy:
matrix:
go-version: [1.17.x]
os: [ubuntu-latest, macos-latest, windows-latest]
runs-on: ${{ matrix.os }}
steps:
- name: Install Go
uses: actions/setup-go@v2
with:
go-version: ${{ matrix.go-version }}
- name: Checkout
uses: actions/checkout@v2
- name: Build
run: go build -v ./...
- name: Test
run: go test ./...