1
0
mirror of https://github.com/danog/liquid.git synced 2024-12-02 14:37:50 +01:00
liquid/.github/workflows/go.yml
2021-06-26 14:49:05 +08:00

21 lines
478 B
YAML

name: Build and Test
on: [push, pull_request]
jobs:
test:
strategy:
matrix:
go-version: [1.15.x, 1.16.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 ./...