diff options
author | Aaron Buchwald <[email protected]> | 2020-12-14 16:22:22 -0500 |
---|---|---|
committer | Aaron Buchwald <[email protected]> | 2020-12-14 19:10:21 -0500 |
commit | de9c3bc629f7e712b3cd84b280db6a32b9bc7030 (patch) | |
tree | 4aabd136351727a9021408cd4ef458c2953f3a67 /.github | |
parent | ddb43b6d824b5de77e4df9e9f551aa067be9b40e (diff) |
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 }} |