Repository navigation
76 lines (76 loc) · 2.03 KB
/
Copy pathlua.yml
File metadata and controls
76 lines (76 loc) · 2.03 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
71
72
73
74
75
76
name: Lua
on:
push:
branches:
- main
# pull_request:
# branches:
# - main
schedule:
- cron: '0 4 * * *'
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.event_name }}-${{ github.head_ref || github.sha }}
cancel-in-progress: true
jobs:
lua-neovim:
runs-on: ubuntu-latest
timeout-minutes: 300
steps:
- name: Checkout
uses: actions/checkout@v7
- name: Install Nix
uses: cachix/install-nix-action@v31
with:
github_access_token: ${{ secrets.GITHUB_TOKEN }}
extra_nix_config: |
fallback = true
connect-timeout = 10
download-attempts = 5
- name: Validate Neovim Configuration (Dev Shell)
run: make lua-check-neovim-dev
lua-neovim-test:
runs-on: ubuntu-latest
timeout-minutes: 30
steps:
- name: Checkout
uses: actions/checkout@v7
- name: Install Nix
uses: cachix/install-nix-action@v31
with:
github_access_token: ${{ secrets.GITHUB_TOKEN }}
extra_nix_config: |
fallback = true
connect-timeout = 10
download-attempts = 5
- name: Run Neovim Tests (Dev Shell)
run: make neovim-test-dev
lua-hammerspoon:
runs-on: macos-latest
timeout-minutes: 300
steps:
- name: Checkout
uses: actions/checkout@v7
- name: Install Nix
uses: cachix/install-nix-action@v31
with:
github_access_token: ${{ secrets.GITHUB_TOKEN }}
extra_nix_config: |
fallback = true
connect-timeout = 10
download-attempts = 5
- name: Validate Hammerspoon Configuration (Dev Shell)
run: make lua-check-hammerspoon-dev
lua-check:
if: always()
needs:
- lua-neovim
- lua-neovim-test
- lua-hammerspoon
runs-on: ubuntu-latest
timeout-minutes: 3
steps:
- name: Alls Green
uses: re-actors/alls-green@release/v1
with:
jobs: ${{ toJSON(needs) }}