Skip to content

Commit

Permalink
ci: don't lint on master
Browse files Browse the repository at this point in the history
  • Loading branch information
Jesse0Michael committed Jun 23, 2020
1 parent 9c74b6f commit 52702bf
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 6 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/linter.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: Lint Code Base
on:
push:
branches-ignore:
- "master"

jobs:
build:
name: Lint Code Base
runs-on: ubuntu-latest
steps:
- name: Checkout Code
uses: actions/checkout@v2

- name: Lint Code Base
uses: docker://github/super-linter:v2.1.0
env:
VALIDATE_ALL_CODEBASE: false
VALIDATE_GO: true
6 changes: 0 additions & 6 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,6 @@ jobs:
- name: Checkout
uses: actions/checkout@v2

- name: Lint Code Base
uses: docker://github/super-linter:v2.1.0
env:
VALIDATE_ALL_CODEBASE: false
VALIDATE_GO: true

- name: Test
run: |
go mod download
Expand Down

0 comments on commit 52702bf

Please sign in to comment.