Skip to content

Update build.yaml

Update build.yaml #14

Workflow file for this run

name: build
on:
pull_request:
push:
branches:
- main
tags:
- v*
workflow_dispatch:
schedule:
- cron: '0 0 * * 1'
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
go: [1.16, 1.x]
name: Go ${{ matrix.go }}
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install Go
uses: actions/setup-go@v3
with:
go-version: ${{ matrix.go }}
- name: Build
run: go get -v .
- name: Example
run: make -C _example