1
0
Fork 0
mirror of https://github.com/adnanh/webhook.git synced 2026-01-23 10:25:12 +00:00
webhook/.github/workflows/build.yml
2022-10-04 01:31:49 +02:00

23 lines
458 B
YAML

name: build
on: [push, pull_request]
jobs:
build:
strategy:
matrix:
go-version: [1.18.x, 1.19.x]
os: [ubuntu-latest, macos-latest, windows-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
- uses: actions/setup-go@v2
with:
go-version: ${{ matrix.go-version }}
id: go
- name: Build
run: go build -v
- name: Test
run: go test -v ./...