Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 23 additions & 0 deletions .emmyrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
{
"$schema": "https://raw.githubusercontent.com/EmmyLuaLs/emmylua-analyzer-rust/refs/heads/main/crates/emmylua_code_analysis/resources/schema.json",
"workspace": {
"ignoreDir": [
".rocks",
"build",
"tmp"
]
},
"runtime": {
"version": "LuaJIT"
},
"diagnostics": {
"disable": [
"need-check-nil",
"redefined-local",
"unresolved-require"
],
"globals": [
"box"
]
}
}
10 changes: 6 additions & 4 deletions .github/workflows/packaging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
if: |
github.event_name == 'push' ||
github.event.pull_request.head.repo.full_name != github.repository
runs-on: ubuntu-20.04
runs-on: ubuntu-24.04
steps:
- name: Check module version
if: ${{ github.event_name == 'push' && startsWith(github.ref, 'refs/tags/') }}
Expand All @@ -32,7 +32,7 @@ jobs:
github.event_name == 'push' ||
github.event.pull_request.head.repo.full_name != github.repository
needs: version-check
runs-on: ubuntu-20.04
runs-on: ubuntu-24.04

strategy:
fail-fast: false
Expand All @@ -41,6 +41,7 @@ jobs:
- { os: 'debian', dist: 'stretch' }
- { os: 'debian', dist: 'buster' }
- { os: 'debian', dist: 'bullseye' }
- { os: 'debian', dist: 'bookworm' }
- { os: 'el', dist: '7' }
- { os: 'el', dist: '8' }
- { os: 'fedora', dist: '30' }
Expand All @@ -54,19 +55,20 @@ jobs:
- { os: 'ubuntu', dist: 'bionic' }
- { os: 'ubuntu', dist: 'focal' }
- { os: 'ubuntu', dist: 'jammy' }
- { os: 'ubuntu', dist: 'noble' }

env:
OS: ${{ matrix.platform.os }}
DIST: ${{ matrix.platform.dist }}

steps:
- name: Clone the module
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Clone the packpack tool
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
repository: packpack/packpack
path: packpack
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/push_rockspec.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
version-check:
# We need this job to run only on push with tag.
if: ${{ github.event_name == 'push' && startsWith(github.ref, 'refs/tags/') }}
runs-on: ubuntu-20.04
runs-on: ubuntu-24.04
steps:
- name: Check module version
uses: tarantool/actions/check-module-version@master
Expand All @@ -27,7 +27,7 @@ jobs:
require('test.rock_utils').assert_nonbuiltin('checks')

push-scm-rockspec:
runs-on: [ ubuntu-20.04 ]
runs-on: [ ubuntu-24.04 ]
if: github.ref == 'refs/heads/master' && github.event.workflow_run.conclusion == 'success'
steps:
- uses: actions/checkout@master
Expand All @@ -38,7 +38,7 @@ jobs:
files: ${{ env.ROCK_NAME }}-scm-1.rockspec

push-tagged-rockspec:
runs-on: [ ubuntu-20.04 ]
runs-on: [ ubuntu-24.04 ]
if: startsWith(github.ref, 'refs/tags')
needs: version-check
steps:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/reusable_testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,13 @@ on:
inputs:
artifact_name:
description: The name of the tarantool build artifact
default: ubuntu-focal
default: ubuntu-jammy
required: false
type: string

jobs:
run_tests:
runs-on: ubuntu-20.04
runs-on: ubuntu-24.04
steps:
- name: Clone the checks module
uses: actions/checkout@v4
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@ jobs:
strategy:
fail-fast: false
matrix:
tarantool: ['1.10', '2.5', '2.6', '2.7', '2.8', '2.10']
tarantool: ['1.10','2.11', '3.3']

runs-on: [ubuntu-20.04]
runs-on: [ubuntu-22.04]
steps:
- uses: actions/checkout@v3
- uses: tarantool/setup-tarantool@v2
- uses: actions/checkout@v4
- uses: tarantool/setup-tarantool@v3
with:
tarantool-version: ${{ matrix.tarantool }}

Expand All @@ -36,9 +36,9 @@ jobs:
strategy:
fail-fast: false

runs-on: [ubuntu-20.04]
runs-on: [ubuntu-22.04]
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Setup LuaJIT
run: sudo apt install -y luajit
Expand Down
9 changes: 9 additions & 0 deletions .luacheckrc
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,12 @@ include_files = {'**/*.lua', '*.luacheckrc', '*.rockspec'}
exclude_files = {'.rocks/', 'tmp/', 'build/'}
max_line_length = 120
redefined = false
globals = {
"box",
}
ignore = {
-- Accessing an undefined field of a global variable <table>.
"143/table",
-- Unused variable with `_` prefix.
"212/_.*",
}
20 changes: 20 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,25 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).

## [Unreleased]

### Added

### Changed

### Fixed

### Removed

## [3.4.0] - 2025-10-21

This release introduces bumped CMake version to avoid compatibility
problem with CMake 4.x.

### Changed

- Bump CMake version to avoid compatibility problem with CMake 4.x (#66).

## [3.3.0] - 2023-04-19

### Added
Expand All @@ -16,6 +35,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
- Override built-in checks, if installed.

## [3.2.0] - 2023-01-27

### Added

- "error" type supported.
Expand Down
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
cmake_minimum_required(VERSION 2.6 FATAL_ERROR)
cmake_minimum_required(VERSION 3.10...3.31 FATAL_ERROR)

project(checks NONE)

Expand Down
Loading
Loading