Skip to content

Commit

Permalink
chore: add GitHub Actions (#5)
Browse files Browse the repository at this point in the history
  • Loading branch information
knqyf263 authored Dec 13, 2020
1 parent 8b9bad7 commit 6e04697
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
on: [push, pull_request]
name: Test
jobs:
test:
strategy:
matrix:
go-version: [1.14.x, 1.15.x]
runs-on: ubuntu-latest
steps:
- name: Install Go
uses: actions/setup-go@v2
with:
go-version: ${{ matrix.go-version }}
- name: Checkout code
uses: actions/checkout@v2
- name: golangci-lint
uses: golangci/golangci-lint-action@v2
with:
version: v1.32
- name: Test
run: go test ./...

0 comments on commit 6e04697

Please sign in to comment.