-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Peter Matseykanets
committed
Apr 24, 2021
1 parent
150ee7f
commit a3a4a39
Showing
2 changed files
with
47 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 ./... |
This file was deleted.
Oops, something went wrong.