Skip to content

Commit

Permalink
all: fix github lint
Browse files Browse the repository at this point in the history
  • Loading branch information
ainar-g committed May 19, 2021
1 parent ebbb9c5 commit 6868eac
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@
'with':
'token': '${{ secrets.CODECOV_TOKEN }}'
'file': './coverage.txt'

'build-release':
'runs-on': 'ubuntu-latest'
'needs': 'test'
Expand Down
11 changes: 11 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -1,19 +1,29 @@
'name': 'lint'

'env':
'GO_VERSION': '1.16'

'on':
'push':
'tags':
- 'v*'
'branches':
- '*'
'pull_request':

'jobs':
'go-lint':
'runs-on': 'ubuntu-latest'
'steps':
- 'uses': 'actions/checkout@v2'
- 'name': 'Set up Go'
'uses': 'actions/setup-go@v2'
'with':
'go-version': '${{ env.GO_VERSION }}'
- 'name': 'run-lint'
'run': >
make go-deps go-tools go-lint
'eslint':
'runs-on': 'ubuntu-latest'
'steps':
Expand All @@ -22,6 +32,7 @@
'run': 'npm --prefix="./client" ci'
- 'name': 'Run ESLint'
'run': 'npm --prefix="./client" run lint'

'notify':
'needs':
- 'go-lint'
Expand Down

0 comments on commit 6868eac

Please sign in to comment.