We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d344a71 commit 7f811aeCopy full SHA for 7f811ae
1 file changed
.github/workflows/ci.yml
@@ -0,0 +1,25 @@
1
+name: CI
2
+
3
+on:
4
+ push:
5
+ branches: [main]
6
+ pull_request:
7
8
9
+jobs:
10
+ validate:
11
+ runs-on: ubuntu-latest
12
+ steps:
13
+ - uses: actions/checkout@v4
14
15
+ - name: Validate workflow YAML
16
+ run: |
17
+ python -c "
18
+ import yaml, glob
19
+ files = glob.glob('.github/workflows/*.yml')
20
+ for f in files:
21
+ with open(f) as fh:
22
+ yaml.safe_load(fh)
23
+ print(' OK:', f)
24
+ print('Validated', len(files), 'workflow files')
25
+ "
0 commit comments