Skip to content

Commit

Permalink
build: Update build workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Peter Matseykanets committed Apr 24, 2021
1 parent 150ee7f commit a3a4a39
Show file tree
Hide file tree
Showing 2 changed files with 47 additions and 26 deletions.
47 changes: 47 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
name: build

on:
push:
branches:
- master
paths-ignore:
- .github/**
- .gitignore
- .whitesource
- codecov.yml
- README.md
pull_request:
paths-ignore:
- .github/**
- .gitignore
- .whitesource
- codecov.yml
- README.md

jobs:
build:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
include:
- go: 1.15
build-with: true
- go: 1.16
build-with: false
continue-on-error: ${{ matrix.build-with == false }}
name: Build with ${{ matrix.go }}
env:
GO111MODULE: on

steps:
- name: Set up Go
uses: actions/setup-go@v1
with:
go-version: ${{ matrix.go }}

- name: Checkout code
uses: actions/checkout@v2

- name: Vet
run: go vet ./...
26 changes: 0 additions & 26 deletions .github/workflows/go.yml

This file was deleted.

0 comments on commit a3a4a39

Please sign in to comment.