Skip to content

test: fixate luatest dependency #2632

test: fixate luatest dependency

test: fixate luatest dependency #2632

Workflow file for this run

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