-
Notifications
You must be signed in to change notification settings - Fork 140
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
cleanup: migrate
make verify
to static checks and remove redundant
scripts Signed-off-by: Mayank Shah <[email protected]>
- Loading branch information
1 parent
341d133
commit 961a981
Showing
7 changed files
with
32 additions
and
153 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,35 @@ | ||
name: Static Checks | ||
on: | ||
pull_request: {} | ||
push: {} | ||
push: | ||
branches: [ master ] | ||
pull_request: | ||
branches: [ master ] | ||
jobs: | ||
go_lint: | ||
name: Go Lint | ||
runs-on: ubuntu-18.04 | ||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@master | ||
- name: Run linter | ||
uses: golangci/golangci-lint-action@v1 | ||
with: | ||
version: v1.29 | ||
args: -E=gofmt --timeout=30m0s | ||
static_checks: | ||
name: Go Lint | ||
runs-on: ubuntu-18.04 | ||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@master | ||
- name: Run linter | ||
uses: golangci/golangci-lint-action@v1 | ||
with: | ||
version: v1.29 | ||
args: '-E=gofmt,golint,misspell --timeout=30m0s' | ||
yaml_lint: | ||
name: YAML lint | ||
runs-on: ubuntu-18.04 | ||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@master | ||
- name: yaml-lint | ||
uses: ibiqlik/action-yamllint@v1 | ||
misc_checks: | ||
name: Miscellaneous checks | ||
runs-on: ubuntu-18.04 | ||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@master | ||
- name: yaml-lint | ||
run: | | ||
make verify |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.