-
Notifications
You must be signed in to change notification settings - Fork 0
40 lines (35 loc) · 920 Bytes
/
ci.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
name: CI
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
# lint:
# name: Linting
# runs-on: ubuntu-22.04
# steps:
# - name: Checkout Code
# uses: actions/checkout@v3
# - uses: ok-nick/[email protected]
# name: Setup Aftman
# with:
# token: ${{ github.token }}
# - name: Lint
# run: |
# wally install
# rojo sourcemap default.project.json -o sourcemap.json
# curl -o roblox.d.lua https://raw.githubusercontent.com/JohnnyMorganz/luau-lsp/main/scripts/globalTypes.d.lua
# luau-lsp analyze ./src --sourcemap=./sourcemap.json --definitions=./roblox.d.lua
style:
name: Styling
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- uses: JohnnyMorganz/[email protected]
with:
token: ${{ secrets.GITHUB_TOKEN }}
version: latest
args: --check .