Files
tokyo-wangan-racing/.gitea/workflows/ci.yml
T
2026-07-22 00:04:37 -04:00

43 lines
1.0 KiB
YAML

name: CI
# Gitea Actions (GitHub-compatible). Runs on every push and PR.
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
quality:
# Ubuntu 24.04: rojo 7.5.1's binary requires glibc 2.39 (22.04 ships 2.35).
runs-on: ubuntu-24.04
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install Rokit
run: |
curl -fsSL https://raw.githubusercontent.com/rojo-rbx/rokit/main/scripts/install.sh | bash
echo "$HOME/.rokit/bin" >> "$GITHUB_PATH"
- name: Install toolchain (rojo, wally, selene, stylua)
run: rokit install --no-trust-check
- name: Restore Wally packages
run: wally install
- name: Format check (stylua)
run: stylua --check src/
- name: Lint (selene)
run: selene src/
- name: Build place (rojo)
run: rojo build --output build.rbxl
- name: Upload build artifact
uses: actions/upload-artifact@v3
with:
name: place-file
path: build.rbxl