-
-
Notifications
You must be signed in to change notification settings - Fork 3
48 lines (35 loc) · 895 Bytes
/
ci.yml
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
41
42
43
44
45
46
47
48
name: CI
on:
pull_request:
branches: [ main ]
push:
branches: [ main ]
jobs:
lint:
name: Lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: roblox/setup-foreman@v2
with:
token: ${{ secrets.GITHUB_TOKEN }}
- name: List installed foreman tools
run: foreman list
- name: Generate Roblox standards
run: selene generate-roblox-std
- name: Run Selene
run: selene ./src
build:
name: Build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: roblox/setup-foreman@v2
with:
token: ${{ secrets.GITHUB_TOKEN }}
- name: List installed foreman tools
run: foreman list
- name: Install Wally packages
run: wally install
- name: Build plugin
run: rojo build default.project.json -o PartToTerrain.rbxm