-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
There was a linter check in test in `testing` workflow, but not in a separate job. After the patch a linter check is available in a separate job and the previous step from `testing` workflow was deleted. Closes #21
- Loading branch information
1 parent
f8d2c88
commit 9cf0640
Showing
2 changed files
with
37 additions
and
3 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,36 @@ | ||
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-22.04 | ||
|
||
steps: | ||
- uses: actions/checkout@master | ||
|
||
- name: Setup Tarantool CE | ||
uses: tarantool/setup-tarantool@v3 | ||
with: | ||
tarantool-version: '3.2.0' | ||
|
||
- name: Setup tt | ||
run: | | ||
curl -L https://tarantool.io/release/3/installer.sh | sudo bash | ||
sudo apt install -y tt | ||
tt version | ||
- name: Setup luacheck | ||
run: make deps depname=lint | ||
|
||
- run: echo $PWD/.rocks/bin >> $GITHUB_PATH | ||
|
||
- name: Run static analysis | ||
run: make check |
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