uquic/.github/workflows/go_build.yml
Gaukas Wang 9e1965d28b
bug: ci taking too long to run (#7)
* breaking: separate CI build and test workflows

Separate CI build and test into individual workflows.
Add matrix-based CI build and test for better coverage.
Update build status badges.

* fix: ginko_test format and condition
2023-08-05 13:04:13 -06:00

23 lines
No EOL
598 B
YAML

# This workflow will build a golang project
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-go
name: "Go Build"
on: [push, pull_request]
jobs:
build:
strategy:
fail-fast: false
matrix:
os: [ "ubuntu-latest", "windows-latest", "macos-latest" ]
go: [ "1.20.x", "1.21.0-rc.4" ]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v4
with:
go-version: ${{ matrix.go }}
- run: go version
- name: Build
run: go build -v ./...