Skip to content

Commit

Permalink
👷 Add golangci and gomod lint jobs
Browse files Browse the repository at this point in the history
Signed-off-by: Matthew Gleich <git@mattglei.ch>
  • Loading branch information
gleich committed Feb 19, 2021
1 parent 5be8220 commit 8ff6535
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: lint

on: push

jobs:
golangci:
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v2
- name: Run Golangci Linter
uses: golangci/golangci-lint-action@v2.3.0
gomod:
runs-on: ubuntu-latest
steps:
- name: Set up Go 1.x
uses: actions/setup-go@v2
with:
go-version: ^1.16
id: go
- name: Checkout Repository
uses: actions/checkout@v2
- run: make lint-gomod

0 comments on commit 8ff6535

Please sign in to comment.