-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathci.yml
More file actions
70 lines (65 loc) · 1.74 KB
/
ci.yml
File metadata and controls
70 lines (65 loc) · 1.74 KB
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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
workflow_dispatch:
inputs:
linux:
description: "Linux"
type: boolean
default: false
macos:
description: "macOS"
type: boolean
default: false
windows:
description: "Windows"
type: boolean
default: false
stylua:
description: "StyLua"
type: boolean
default: false
luacheck:
description: "Luacheck"
type: boolean
default: false
markdownlint:
description: "Markdownlint"
type: boolean
default: false
tests:
description: "Tests"
type: boolean
default: false
docs:
description: "Docs"
type: boolean
default: false
release-please:
description: "Release Please"
type: boolean
default: false
luarocks-upload:
description: "Upload to LuaRocks"
type: boolean
default: false
jobs:
ci:
uses: BlueLua/.github/.github/workflows/ci.yml@main
secrets: inherit
# prettier-ignore
with:
package: ${{ github.event.repository.name }}
linux: ${{ inputs.linux || github.event_name != 'workflow_dispatch' }}
macos: ${{ inputs.macos || github.event_name != 'workflow_dispatch' }}
windows: ${{ inputs.windows || github.event_name != 'workflow_dispatch' }}
stylua: ${{ inputs.stylua }}
luacheck: ${{ inputs.luacheck }}
markdownlint: ${{ inputs.markdownlint }}
tests: ${{ inputs.tests }}
docs: ${{ inputs.docs }}
release-please: ${{ inputs.release-please }}
luarocks-upload: ${{ inputs.luarocks-upload }}