Skip to content

Commit 59b5fd9

Browse files
committed
fixup ci
1 parent 308e0c4 commit 59b5fd9

File tree

5 files changed

+63
-57
lines changed

5 files changed

+63
-57
lines changed

.github/workflows/build.yml

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,17 @@
11
name: build
22
on: [push]
33
jobs:
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: [lint]
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:

.github/workflows/lint-external-prs.yml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,4 @@ on: [pull_request_target]
55
jobs:
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

.github/workflows/lint.yml

Lines changed: 0 additions & 26 deletions
This file was deleted.

.github/workflows/lint/lint.yml

Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
name: lint
2+
on:
3+
workflow_call
4+
jobs:
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:
24+
runs-on: ubuntu-latest
25+
steps:
26+
- name: Checkout repository
27+
uses: actions/checkout@v2
28+
29+
- name: Setup Aftman
30+
uses: ok-nick/setup-aftman@v0.4.2
31+
with:
32+
version: 'v0.3.0'
33+
token: ${{ secrets.GITHUB_TOKEN }}
34+
35+
- name: Generate standard library
36+
run: selene generate-roblox-std
37+
38+
- name: Run Selene
39+
run: selene src
40+
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+
53+
- name: Run moonwave-extractor
54+
run: moonwave-extractor extract src

.github/workflows/luau.yml

Lines changed: 0 additions & 22 deletions
This file was deleted.

0 commit comments

Comments
 (0)