Skip to content
This repository has been archived by the owner on Dec 22, 2022. It is now read-only.

Commit

Permalink
Add validation checker for PRs and merges with github actions (prebid…
Browse files Browse the repository at this point in the history
  • Loading branch information
laurb9 authored Sep 9, 2020
1 parent 7429448 commit 9076173
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/validate.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
on:
push:
branches:
- master
pull_request:
release:
types:
- created
name: Validate
jobs:
Go:
strategy:
matrix:
go-version: [1.13.x, 1.14.x, 1.15.x]
os: [ubuntu-18.04]
runs-on: ${{ matrix.os }}
steps:
- name: Install Go
uses: actions/setup-go@v2
with:
go-version: ${{ matrix.go-version }}
- name: Checkout code
uses: actions/checkout@v2
- name: Validate
run: |
./validate.sh --nofmt --cov --race 10
env:
GO111MODULE: "on"

0 comments on commit 9076173

Please sign in to comment.