Skip to content

Commit

Permalink
add golangci-lint
Browse files Browse the repository at this point in the history
  • Loading branch information
jharshman committed May 16, 2023
1 parent 1ace625 commit 7782df3
Showing 1 changed file with 14 additions and 2 deletions.
16 changes: 14 additions & 2 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@ name: CI
on: [push]

jobs:
build:

test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
Expand All @@ -16,3 +15,16 @@ jobs:

- name: Test
run: go test -v ./...

lint:
runs-on: ubuntu-latest
- uses: actions/checkout@v3

- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: '1.20'

- name: Run golangci-lint
uses: golangci/golangci-lint-action@v3.4.0

0 comments on commit 7782df3

Please sign in to comment.