-
Notifications
You must be signed in to change notification settings - Fork 73
29 lines (27 loc) · 830 Bytes
/
ci.yml
File metadata and controls
29 lines (27 loc) · 830 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
name: Compile workflows with latest gh-aw release
on:
push:
branches: [main]
pull_request:
jobs:
install-gh-aw:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Install gh-aw
run: gh extension install github/gh-aw
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Verify gh-aw installation
run: gh aw --version
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Compile workflows in .github/workflows
run: gh aw compile --verbose
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Compile workflows in workflows directory
run: gh aw compile --workflows-dir workflows --verbose
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}