File tree Expand file tree Collapse file tree 4 files changed +40
-34
lines changed
Expand file tree Collapse file tree 4 files changed +40
-34
lines changed Original file line number Diff line number Diff line change 11name : build
22on : [push]
33jobs :
4- lint :
5- uses : ./.github/workflows/lint.yml
6-
74 luau :
8- uses : ./.github/workflows/luau.yml
5+ uses : ./.github/workflows/lint/lint.yml
6+
7+ selene :
8+ uses : ./.github/workflows/lint/lint.yml
9+
10+ moonwave :
11+ uses : ./.github/workflows/lint/moonwave.yml
912
1013 release :
11- needs : [lint, luau ]
14+ needs : [luau, selene, moonwave ]
1215 runs-on : ubuntu-latest
1316 if : " !contains(github.event.head_commit.message, 'ci skip') && !contains(github.event.head_commit.message, 'skip ci')"
1417 steps :
Original file line number Diff line number Diff line change @@ -5,7 +5,4 @@ on: [pull_request_target]
55jobs :
66 lint :
77 if : " github.event.pull_request.head.repo.fork"
8- uses : ./.github/workflows/lint.yml
9- luau :
10- if : " github.event.pull_request.head.repo.fork"
11- uses : ./.github/workflows/luau.yml
8+ uses : ./.github/workflows/lint/lint.yml
Original file line number Diff line number Diff line change 1- # Reusable workflow that lints the repository!
21name : lint
32on :
43 workflow_call
54jobs :
6- lint :
5+ luau :
6+ runs-on : ubuntu-latest
7+ steps :
8+ - name : Checkout repository
9+ uses : actions/checkout@v2
10+
11+ - name : Setup Aftman
12+ uses : ok-nick/setup-aftman@v0.4.2
13+ with :
14+ version : ' v0.3.0'
15+ token : ${{ secrets.GITHUB_TOKEN }}
16+
17+ - name : Generate Sourcemap
18+ run : npm run build:sourcemap
19+
20+ - name : Luau-lsp analyze
21+ run : npm run lint:luau
22+
23+ selene :
724 runs-on : ubuntu-latest
825 steps :
926 - name : Checkout repository
2138 - name : Run Selene
2239 run : selene src
2340
41+ moonwave :
42+ runs-on : ubuntu-latest
43+ steps :
44+ - name : Checkout repository
45+ uses : actions/checkout@v2
46+
47+ - name : Setup Aftman
48+ uses : ok-nick/setup-aftman@v0.4.2
49+ with :
50+ version : ' v0.3.0'
51+ token : ${{ secrets.GITHUB_TOKEN }}
52+
2453 - name : Run moonwave-extractor
25- if : success() || failure()
2654 run : moonwave-extractor extract src
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments