temp #2083
Workflow file for this run
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
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-20.04 | |
steps: | |
- uses: actions/checkout@master | |
- name: Setup Tarantool CE | |
uses: tarantool/setup-tarantool@v2 | |
with: | |
tarantool-version: '2.10' | |
- name: Setup luacheck | |
run: tarantoolctl rocks install luacheck 0.25.0 | |
- run: cmake -S . -B build | |
- name: Run luacheck | |
run: make -C build luacheck |