Skip to content

Commit

Permalink
Merge pull request #37 from daxmc99/add_ci
Browse files Browse the repository at this point in the history
Add Github action to run CI on pull requests
  • Loading branch information
AkihiroSuda committed Dec 15, 2020
2 parents b6c45a3 + eb0c4b3 commit 50a70f7
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,5 +23,22 @@ jobs:
uses: actions/setup-go@v2
with:
go-version: ${{ matrix.go-version }}
- name: Test
run: go test ./...
- name: Make artifacts
run: make artifacts

golangci-lint:
strategy:
matrix:
os: [ubuntu-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 1
- name: golangci-lint
uses: golangci/golangci-lint-action@v2
with:
version: v1.33
args: --verbose

0 comments on commit 50a70f7

Please sign in to comment.