aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/ci.yml
diff options
context:
space:
mode:
authoraaronbuchwald <[email protected]>2020-12-14 19:32:25 -0500
committerGitHub <[email protected]>2020-12-14 19:32:25 -0500
commit95cc7cb766d5bb23a771da35b3774159b2e1e1d1 (patch)
tree25b8a74353b87544f62f25f23ce0f721861a80f1 /.github/workflows/ci.yml
parentac8d216710a533e1dae2f1215ff41e7f0fc2effe (diff)
parentde9c3bc629f7e712b3cd84b280db6a32b9bc7030 (diff)
Merge pull request #70 from ava-labs/fix-linting
Fix linting and add to CI
Diffstat (limited to '.github/workflows/ci.yml')
-rw-r--r--.github/workflows/ci.yml14
1 files changed, 14 insertions, 0 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 31ae101..b371b2f 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -2,6 +2,20 @@ name: CI
on: [pull_request, push]
jobs:
+ lint:
+ name: Golang v${{ matrix.go }} (${{ matrix.os }})
+ runs-on: ${{ matrix.os }}
+ strategy:
+ matrix:
+ go: ['1.15']
+ os: [ubuntu-18.04]
+ steps:
+ - uses: actions/checkout@v2
+ - uses: actions/setup-go@v1
+ with:
+ go-version: ${{ matrix.go }}
+ - run: .ci/lint.sh
+ shell: bash
test:
name: Golang v${{ matrix.go }} (${{ matrix.os }})
runs-on: ${{ matrix.os }}