mirror of
https://github.com/CompeyDev/rusty-luau.git
synced 2024-12-12 04:40:40 +00:00
Erica Marigold
f3b77f2575
Undoing experimental Roblox bundling support simply because I cannot maintain it. See branch roblox-support for the reverted version.
49 lines
950 B
YAML
49 lines
950 B
YAML
name: CI
|
|
|
|
on:
|
|
push:
|
|
pull_request:
|
|
workflow_dispatch:
|
|
|
|
defaults:
|
|
run:
|
|
shell: bash
|
|
|
|
jobs:
|
|
fmt:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout repository
|
|
uses: actions/checkout@v4
|
|
|
|
- name: Install tooling
|
|
uses: ok-nick/setup-aftman@v0.4.2
|
|
with:
|
|
cache: true
|
|
|
|
- name: Check formatting
|
|
run: stylua -c -v .
|
|
|
|
lint:
|
|
needs: ["fmt"]
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout repository
|
|
uses: actions/checkout@v4
|
|
|
|
- name: Install tooling
|
|
uses: ok-nick/setup-aftman@v0.4.2
|
|
with:
|
|
cache: true
|
|
|
|
- name: Install dependencies
|
|
run: wally install
|
|
|
|
- name: Setup lune typedefs
|
|
run: lune setup
|
|
|
|
- name: Analyze
|
|
run: luau-lsp analyze --ignore="Packages/**" --settings=".vscode/settings.json" lib/ examples/ mod.luau
|
|
|
|
- name: lint
|
|
run: selene .
|