Skip to content

Commit

Permalink
Build on all branches
Browse files Browse the repository at this point in the history
  • Loading branch information
alexellis authored Nov 11, 2020
1 parent 4af6544 commit 14caa5c
Showing 1 changed file with 18 additions and 15 deletions.
33 changes: 18 additions & 15 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,23 +2,26 @@ name: build

on:
push:
branches: [ master ]
branches:
- '*'
pull_request:
branches: [ master ]
branches:
- '*'

jobs:
build:
name: Build
runs-on: ubuntu-latest
strategy:
matrix:
go-version: [1.13.x]
os: [ubuntu-latest]
runs-on: ${{ matrix.os }}
steps:

- name: Set up Go 1.x
uses: actions/setup-go@v2
with:
go-version: ^1.13

- name: Check out code into the Go module directory
uses: actions/checkout@v2

- name: Make
run: make all
- uses: actions/checkout@master
with:
fetch-depth: 1
- name: Install Go
uses: actions/setup-go@v2
with:
go-version: ${{ matrix.go-version }}
- name: Make
run: make all

0 comments on commit 14caa5c

Please sign in to comment.