Skip to content
This repository has been archived by the owner on Jan 11, 2023. It is now read-only.

Commit

Permalink
Run lint workflow on PRs
Browse files Browse the repository at this point in the history
  • Loading branch information
samuelmeuli committed Apr 10, 2020
1 parent a6dbe58 commit 472691f
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
name: Lint

on: push
on:
- pull_request
- push

jobs:
run-linters:
name: Run linters
lint:
name: Lint
runs-on: ubuntu-latest

steps:
Expand All @@ -16,5 +18,5 @@ jobs:
with:
go-version: 1.14

- name: Run golangci-lint
- name: Lint
run: docker run --rm -v $(pwd):/app -w /app golangci/golangci-lint:v1.24.0 golangci-lint run

0 comments on commit 472691f

Please sign in to comment.