name: CI # Gitea Actions (GitHub-compatible). Runs on every push and PR. on: push: branches: [main] pull_request: branches: [main] jobs: quality: runs-on: ubuntu-latest 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