Skip to content

Commit d4cb37d

Browse files
feat: enhance workflow linting tasks in Taskfile (#87)
Co-authored-by: ChristophShyper <45788587+ChristophShyper@users.noreply.github.com>
1 parent 894bf5b commit d4cb37d

1 file changed

Lines changed: 15 additions & 0 deletions

File tree

Taskfile.cicd.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,64 +9,79 @@ tasks:
99
desc: Run all pre-commit hooks
1010
cmds:
1111
- pre-commit run --all-files
12+
1213
pre-commit:install:
1314
desc: Install pre-commit hooks
1415
cmds:
1516
- pre-commit install
17+
1618
lint:
1719
desc: Run all linters (Dockerfile, shell scripts, workflows, YAML)
1820
cmds:
1921
- task: lint:actionlint
2022
- task: lint:shellcheck
2123
- task: lint:yamllint
24+
2225
lint:actionlint:
2326
desc: Lint GitHub Actions workflows with actionlint
2427
cmds:
2528
- task: scripts:lint:actionlint
29+
2630
lint:shellcheck:
2731
desc: Lint shell scripts with shellcheck
2832
cmds:
2933
- task: scripts:lint:shellcheck
34+
3035
lint:yamllint:
3136
desc: Lint YAML files with yamllint
3237
cmds:
3338
- task: scripts:lint:yamllint
39+
3440
dependency:update:
3541
desc: 'No-op: no dedicated dependency updater configured for this profile'
3642
cmds:
3743
- task: scripts:dependency:update
44+
3845
version:set:
3946
desc: Validate version
4047
cmds:
4148
- task: scripts:version:set
49+
4250
version:update:patch:
4351
desc: Increment patch version (e.g., 1.2.3 -> 1.2.4)
4452
cmds:
4553
- task version:set VERSION=v{{.MAJOR}}.{{.MINOR}}.{{.NEXT_PATCH}}
54+
4655
version:update:minor:
4756
desc: Increment minor version (e.g., 1.2.3 -> 1.3.0)
4857
cmds:
4958
- task version:set VERSION=v{{.MAJOR}}.{{.NEXT_MINOR}}.0
59+
5060
version:update:major:
5161
desc: Increment major version (e.g., 1.2.3 -> 2.0.0)
5262
cmds:
5363
- task version:set VERSION=v{{.NEXT_MAJOR}}.0.0
64+
5465
version:resolve-next:
5566
desc: Resolve next version from bump type and profile
5667
cmds:
5768
- task: scripts:version:resolve-next
69+
5870
version:tag-release:
5971
desc: Create set of git tags
6072
cmds:
6173
- task: scripts:version:tag-release
74+
6275
git:get-pr-template:
6376
desc: Get pull request template
6477
cmds:
6578
- task: scripts:git:get-pr-template
79+
6680
git:set-config:
6781
desc: Set git user config
6882
cmds:
6983
- task: scripts:git:set-config
84+
7085
version:get:
7186
desc: Get current version
7287
cmds:

0 commit comments

Comments
 (0)