simple gh workflow for tests

This commit is contained in:
BlackMATov
2025-04-05 01:27:43 +07:00
parent 1629e4ecc3
commit 97e11d913c
2 changed files with 24 additions and 1 deletions

23
.github/workflows/all.yml vendored Normal file
View File

@@ -0,0 +1,23 @@
name: all
on: [push, pull_request]
jobs:
build:
runs-on: ${{matrix.operating_system}}
strategy:
fail-fast: false
matrix:
lua_version: ["luajit", "5.1", "5.4"]
operating_system: ["ubuntu-latest", "macos-latest", "windows-latest"]
name: "${{matrix.lua_version}}"
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup
uses: leafo/gh-actions-lua@v11
with:
luaVersion: ${{matrix.lua_version}}
- name: Run
run: |
lua ./develop/all.lua

View File

@@ -1,5 +1,5 @@
{
"[json][jsonc][lua][markdown]": {
"[json][jsonc][lua][markdown][yaml]": {
"editor.formatOnSave": true,
"files.insertFinalNewline": true,
"files.trimFinalNewlines": true,