-
Notifications
You must be signed in to change notification settings - Fork 8
48 lines (42 loc) · 1.15 KB
/
misc.yml
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
37
38
39
40
41
42
43
44
45
46
47
48
name: Misc
on:
pull_request:
jobs:
license:
name: Check license headers
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Check License Header
uses: enarx/spdx@master
with:
licenses: Apache-2.0 MIT
editorconfig:
name: Check editorconfig
runs-on: ubuntu-latest
steps:
- uses: editorconfig-checker/action-editorconfig-checker@v2
check-version-patch:
name: Check version update patch file
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Check version update patch file
run: python3 ci/version.py check
verify-antlr:
name: Verify ANTLR-generated code
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Check
working-directory: rs/antlr
run: python3 generate.py --ci
commitlint:
name: Lint commits for semantic-release
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions/setup-node@v4
- run: npx commitlint --from=${{ github.event.pull_request.base.sha }} --to=${{ github.sha }} --verbose