GHA: add yamlcheck

Uses `yamllint`.

Also:
- fix warning for existing YAML files:
  ```
  [truthy] truthy value should be one of [false, true]
  ```

Closes #14650
This commit is contained in:
Viktor Szakats 2024-08-22 20:14:17 +02:00
parent 5629bb7cf6
commit f73f6bf9f8
No known key found for this signature in database
GPG key ID: B5ABD165E2AEF201
23 changed files with 54 additions and 21 deletions

View file

@ -4,7 +4,7 @@
name: AppVeyor Status Report
on:
'on':
status
concurrency:

View file

@ -4,7 +4,7 @@
name: Linux AWS-LC
on:
'on':
push:
branches:
- master

View file

@ -7,7 +7,7 @@
name: Docs
on:
'on':
push:
branches:
- master

View file

@ -6,7 +6,7 @@
name: Source
on:
'on':
push:
branches:
- master
@ -84,6 +84,9 @@ jobs:
- name: spacecheck
run: .github/scripts/spacecheck.pl
- name: yamlcheck
run: .github/scripts/yamlcheck.sh
- name: binarycheck
run: .github/scripts/binarycheck.pl

View file

@ -4,7 +4,7 @@
name: CodeQL
on:
'on':
push:
branches:
- master

View file

@ -3,7 +3,7 @@
# SPDX-License-Identifier: curl
name: configure-vs-cmake
on:
'on':
push:
branches:
- master

View file

@ -4,7 +4,7 @@
---
name: curl-for-win
on:
'on':
push:
branches:
- master

View file

@ -4,7 +4,7 @@
name: Cygwin
on:
'on':
push:
branches:
- master

View file

@ -4,7 +4,7 @@
name: dist
on:
'on':
push:
branches:
- master

View file

@ -4,7 +4,7 @@
name: Fuzzer
on:
'on':
push:
branches:
- master

View file

@ -4,7 +4,7 @@
name: Hacktoberfest
on:
'on':
# this must not ever run on any other branch than master
push:
branches:

View file

@ -4,7 +4,7 @@
name: http3-linux
on:
'on':
push:
branches:
- master

View file

@ -10,7 +10,7 @@
# https://github.com/actions/labeler
name: Labeler
on: [pull_request_target]
'on': [pull_request_target]
jobs:
label:

View file

@ -18,7 +18,7 @@
name: Old Linux
on:
'on':
push:
branches:
- master

View file

@ -4,7 +4,7 @@
name: Linux
on:
'on':
push:
branches:
- master

View file

@ -4,7 +4,7 @@
name: Linux 32-bit
on:
'on':
push:
branches:
- master

View file

@ -4,7 +4,7 @@
name: macOS
on:
'on':
push:
branches:
- master

View file

@ -4,7 +4,7 @@
name: non-native
on:
'on':
push:
branches:
- master

View file

@ -4,7 +4,7 @@
name: Linux torture
on:
'on':
push:
branches:
- master

View file

@ -4,7 +4,7 @@
name: Windows
on:
'on':
push:
branches:
- master

View file

@ -4,7 +4,7 @@
name: Linux wolfSSL
on:
'on':
push:
branches:
- master