Skip to content

Commit feab5bd

Browse files
committed
fixup ci
1 parent 308e0c4 commit feab5bd

File tree

4 files changed

+40
-34
lines changed

4 files changed

+40
-34
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: [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:

.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: 31 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,26 @@
1-
# Reusable workflow that lints the repository!
21
name: lint
32
on:
43
workflow_call
54
jobs:
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
@@ -21,6 +38,17 @@ jobs:
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

.github/workflows/luau.yml

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

0 commit comments

Comments
 (0)