Skip to content

Commit e239705

Browse files
author
Senior Dev Rotation
committed
ci: add CI workflow
1 parent 8633a25 commit e239705

1 file changed

Lines changed: 19 additions & 0 deletions

File tree

.github/workflows/ci.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
name: CI
2+
3+
on:
4+
push:
5+
branches: [main, master]
6+
pull_request:
7+
8+
jobs:
9+
validate:
10+
runs-on: ubuntu-latest
11+
12+
steps:
13+
- uses: actions/checkout@v4
14+
- run: bash -n install.sh
15+
- shell: pwsh
16+
run: |
17+
$errors = $null
18+
[System.Management.Automation.PSParser]::Tokenize((Get-Content -Raw install.ps1), [ref]$errors) | Out-Null
19+
if ($errors) { $errors | Format-List; exit 1 }

0 commit comments

Comments
 (0)