Skip to content

Commit

Permalink
Feature/build (#41)
Browse files Browse the repository at this point in the history
* add ci.yml
  • Loading branch information
Clivern committed Nov 12, 2020
1 parent 173b148 commit 8658217
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: CI

on: [push]

jobs:
build:
runs-on: ubuntu-16.04
strategy:
matrix:
go: [ '1.11', '1.12', '1.13', '1.14', '1.15']
name: Go ${{ matrix.go }} run
steps:
- uses: actions/checkout@v2
- name: Setup go
uses: actions/setup-go@v1
with:
go-version: ${{ matrix.go }}

- name: Get dependencies
run: |
export PATH=${PATH}:`go env GOPATH`/bin
make install_revive
- name: Run make ci
run: |
export PATH=${PATH}:`go env GOPATH`/bin
make ci
git status
git diff > diff.log
cat diff.log
git clean -fd
git reset --hard
make verify

0 comments on commit 8658217

Please sign in to comment.