diff options
author | aaronbuchwald <[email protected]> | 2020-12-14 19:32:25 -0500 |
---|---|---|
committer | GitHub <[email protected]> | 2020-12-14 19:32:25 -0500 |
commit | 95cc7cb766d5bb23a771da35b3774159b2e1e1d1 (patch) | |
tree | 25b8a74353b87544f62f25f23ce0f721861a80f1 /.github | |
parent | ac8d216710a533e1dae2f1215ff41e7f0fc2effe (diff) | |
parent | de9c3bc629f7e712b3cd84b280db6a32b9bc7030 (diff) |
Merge pull request #70 from ava-labs/fix-linting
Fix linting and add to CI
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/ci.yml | 14 |
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 }} |