ci: bump ubuntu version #521
Workflow file for this run
This file contains hidden or 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: Static analysis | |
on: | |
push: | |
pull_request: | |
jobs: | |
check: | |
if: | | |
github.event_name == 'push' || | |
github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name != github.repository | |
runs-on: ubuntu-24.04 | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup Tarantool | |
uses: tarantool/setup-tarantool@v3 | |
with: | |
tarantool-version: '3.3' | |
- name: Setup luacheck | |
run: | | |
sudo apt update | |
sudo apt install curl | |
curl -L https://tarantool.io/release/3/installer.sh | bash | |
sudo apt install -y tt | |
tt rocks install luacheck 0.25.0 | |
- run: cmake -S . -B build | |
- name: Run luacheck | |
run: make -C build luacheck |