Skip to content

Build by matrix

Build by matrix #302

Workflow file for this run

name: Build by matrix
on:
pull_request:
workflow_dispatch:
schedule:
- cron: |
0 0 * * *
push:
tags:
- v*
branches:
- main
jobs:
build:
name: Build
runs-on: ubuntu-latest
strategy:
matrix:
go-version: [1.13.x, 1.14.x, 1.15.x, 1.16.x]
os: [ubuntu-latest, macos-latest, windows-latest]
steps:
- uses: actions/checkout@v2
- uses: actions/setup-go@v2
with:
go-version: ${{ matrix.go-version }}
- name: Go build
run: go build ./cmd/git-semv