Initial push
Some checks are pending
CI / Analyze (push) Waiting to run
CI / Lint (push) Waiting to run
CI / Styling (push) Waiting to run

This commit is contained in:
marked 2024-11-11 19:35:24 +01:00
parent 5a9167e2f5
commit 8ee75b96ed
51 changed files with 4437 additions and 2 deletions

58
.forgejo/workflows/ci.yml Normal file
View file

@ -0,0 +1,58 @@
name: CI
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
analyze:
name: Analyze
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v4
- name: Install Rokit
uses: marked/setup-rokit@v0.1.2
with:
token: ${{ secrets.GITHUB_TOKEN }}
- name: Install Pesde packages
run: lune run scripts/install-packages.luau
- name: Analyze
run: lune run scripts/analyze.luau
lint:
name: Lint
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v4
- name: Install Rokit
uses: marked/setup-rokit@v0.1.2
with:
token: ${{ secrets.GITHUB_TOKEN }}
- name: Lint
run: |
selene src/
style:
name: Styling
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Check code style
uses: marked/stylua-action@v4
with:
token: ${{ secrets.GITHUB_TOKEN }}
version: v0.20.0
args: --check src/