-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move luacheck to a separate pipeline
luacheck doesn't depend on Tarantool version and it is more than enough to run it once. Moreover it doesn't block testing now in case of missed warnings.
- Loading branch information
Showing
2 changed files
with
25 additions
and
6 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 |
---|---|---|
@@ -0,0 +1,25 @@ | ||
name: Run static analysis | ||
|
||
on: | ||
push: | ||
pull_request: | ||
|
||
jobs: | ||
run-static-analysis: | ||
if: | | ||
github.event_name == 'push' || | ||
github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name != github.repository | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@master | ||
|
||
- name: Setup Tarantool | ||
uses: tarantool/setup-tarantool@v1 | ||
with: | ||
tarantool-version: '2.6' | ||
|
||
- name: Setup luacheck | ||
run: tarantoolctl rocks install luacheck 0.25.0 | ||
|
||
- name: Run luacheck | ||
run: .rocks/bin/luacheck . |
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