forked from tweet9ra/mactician
-
Notifications
You must be signed in to change notification settings - Fork 0
36 lines (29 loc) · 814 Bytes
/
Copy pathci.yml
File metadata and controls
36 lines (29 loc) · 814 Bytes
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
name: CI
on:
push:
branches: [master]
pull_request:
permissions:
contents: read
jobs:
validate:
name: Validate TFTMAC
runs-on: macos-latest
timeout-minutes: 45
steps:
- name: Check out repository
uses: actions/checkout@v7.0.1
- name: Set up Node
uses: actions/setup-node@v4
with:
node-version: '24'
- name: Install validation tools
run: |
command -v jq >/dev/null || brew install jq
command -v rg >/dev/null || brew install ripgrep
- name: Validate TFTMAC source, unsigned Release build, and native tests
run: /bin/zsh scripts/verify-tftmac.command
- name: Reject whitespace and generated drift
run: |
git diff --check
test -z "$(git status --short)"