aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/ci.yml
diff options
context:
space:
mode:
authorAaron Buchwald <[email protected]>2020-12-14 16:22:22 -0500
committerAaron Buchwald <[email protected]>2020-12-14 19:10:21 -0500
commitde9c3bc629f7e712b3cd84b280db6a32b9bc7030 (patch)
tree4aabd136351727a9021408cd4ef458c2953f3a67 /.github/workflows/ci.yml
parentddb43b6d824b5de77e4df9e9f551aa067be9b40e (diff)
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 }}