Skip to content

Commit

Permalink
Cover PR
Browse files Browse the repository at this point in the history
  • Loading branch information
jderusse committed Oct 28, 2019
1 parent 7cd5570 commit a3f30d5
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 31 deletions.
18 changes: 6 additions & 12 deletions .github/workflows/quality.yaml → .github/workflows/coverage.yaml
Original file line number Diff line number Diff line change
@@ -1,17 +1,11 @@
name: Quality
on: "push"
on:
pull_request:
types: [opened, synchronize, reopened]
push:
branches:
- master
jobs:
lint:
name: Lint
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@master
- name: Lint Go Code
uses: docker://golangci/golangci-lint:latest
with:
args: golangci-lint run ./...

test:
name: Test with Coverage
runs-on: ubuntu-latest
Expand Down
15 changes: 15 additions & 0 deletions .github/workflows/lint.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
name: Quality
on:
pull_request:
types: [opened, synchronize, reopened]
jobs:
lint:
name: Lint
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@master
- name: Lint Go Code
uses: docker://golangci/golangci-lint:latest
with:
args: golangci-lint run ./...
19 changes: 0 additions & 19 deletions .github/workflows/pull_request.yaml

This file was deleted.

0 comments on commit a3f30d5

Please sign in to comment.