coverage: fix cluacov rockspec URI #2637
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 tt | |
run: | | |
curl -L https://tarantool.io/release/2/installer.sh | sudo bash | |
sudo apt install -y tt | |
tt version | |
- name: Setup luacheck | |
run: | | |
tt init | |
tt rocks install luacheck 0.25.0 | |
- run: cmake -S . -B build | |
- name: Run luacheck | |
run: make -C build luacheck |