@@ -6,15 +6,14 @@ on: [push, pull_request]
66
77jobs :
88 # TODO: check project builds/compiles correctly, maybe with tsc TypeScript compiler?
9-
109 # TODO: add tests including coverage
1110
12- lint_files :
11+ lint_src_files :
1312 name : Lint source files
1413 runs-on : ubuntu-latest
1514
1615 steps :
17- - uses : actions/checkout@v3
16+ - uses : actions/checkout@v4
1817 - uses : actions/setup-node@v3
1918 with :
2019 node-version : 18
4140 runs-on : ubuntu-latest
4241
4342 steps :
44- - uses : actions/checkout@v3
43+ - uses : actions/checkout@v4
4544 - uses : actions/setup-node@v3
4645 with :
4746 node-version : 18
6564 name : Search for TODOs etc
6665 runs-on : ubuntu-latest
6766 steps :
68- - uses : actions/checkout@v3
67+ - uses : actions/checkout@v4
6968 - name : Search for TODO, FIXME, and BUG statements in source files
7069 run : >
7170 if grep
8483 typos_spell_check :
8584 name : Check spelling with typos
8685 runs-on : ubuntu-latest
87-
8886 steps :
89- - uses : actions/checkout@v2
87+ - uses : actions/checkout@v4
9088 - name : Check spelling with typos
9189 uses : crate-ci/typos@master
9290 with :
@@ -95,22 +93,35 @@ jobs:
9593 lint_markdown_files :
9694 name : Lint Markdown files
9795 runs-on : ubuntu-latest
98-
9996 steps :
100- - uses : actions/checkout@v3
97+ - uses : actions/checkout@v4
10198 - uses : articulate/actions-markdownlint@v1
10299 with :
103100 files : ' *.md'
104101 ignore : ' **/node_modules'
105102
103+ lint_yaml_files :
104+ name : Lint YAML files
105+ runs-on : ubuntu-latest
106+ steps :
107+ - uses : actions/checkout@v4
108+ - uses : ibiqlik/action-yamllint@v3
109+
110+ lint_shell_script_files :
111+ name : Lint shell scripts
112+ runs-on : ubuntu-latest
113+ steps :
114+ - uses : actions/checkout@v4
115+ - uses : azohra/shell-linter@latest
116+
106117 commitlint :
107118 name : Enforce Conventional Commits
108119 runs-on : ubuntu-latest
109-
110120 steps :
111- - uses : actions/checkout@v3
121+ - uses : actions/checkout@v4
112122 - name : Check the commits conform to the Conventional Commits specification with commitlint
113123 uses : wagoid/commitlint-github-action@v5
114124
115125# TODO: check commits squashed into one (i.e. all changes in a PR are in one commit after last one in primary branch)
116- # TODO: use release-please to increment version number, update changelog, and publish releases automatically if CI passes
126+ # TODO: use semver to increase version numbers and update changelog automatically
127+ # TODO: publish new release automatically if version increased and CI passes (use release-please?)
0 commit comments