Add actionlint to CI #10

Merged
stephen merged 1 commit from add-actionlint-ci into main 2026-08-19 20:30:50 +00:00
Owner

Summary

  • Add a lint job to the existing Forgejo test workflow.
  • Install Actionlint in CI when it is not already on the runner.
  • Run make lint on PRs, main pushes, concrete release tags, and workflow_dispatch.

Local verification

  • git diff --check
  • shellcheck scripts/install.sh scripts/install-hooks.sh tests/run.sh tests/checksum-mismatch.sh .githooks/pre-commit .githooks/commit-msg
  • shfmt -i 2 -ci -d scripts/install.sh scripts/install-hooks.sh tests/run.sh tests/checksum-mismatch.sh .githooks/pre-commit .githooks/commit-msg
  • make test: 33/33 passed

Local make lint still cannot complete because actionlint is not installed locally; this PR is intended to verify that path in CI by installing Actionlint before running make lint.

## Summary - Add a lint job to the existing Forgejo test workflow. - Install Actionlint in CI when it is not already on the runner. - Run make lint on PRs, main pushes, concrete release tags, and workflow_dispatch. ## Local verification - git diff --check - shellcheck scripts/install.sh scripts/install-hooks.sh tests/run.sh tests/checksum-mismatch.sh .githooks/pre-commit .githooks/commit-msg - shfmt -i 2 -ci -d scripts/install.sh scripts/install-hooks.sh tests/run.sh tests/checksum-mismatch.sh .githooks/pre-commit .githooks/commit-msg - make test: 33/33 passed Local make lint still cannot complete because actionlint is not installed locally; this PR is intended to verify that path in CI by installing Actionlint before running make lint.
Add actionlint to CI
Some checks failed
test / lint (pull_request) Failing after 6s
test / integration (pull_request) Successful in 6s
test / unit (pull_request) Successful in 6s
test / install (v0.14.0) (pull_request) Successful in 6s
test / install (v0.15.0) (pull_request) Successful in 7s
test / install-without-v-prefix (pull_request) Successful in 6s
test / reinstall-on-version-change (pull_request) Successful in 6s
1fc2987ba5
stephen force-pushed add-actionlint-ci from 1fc2987ba5
Some checks failed
test / lint (pull_request) Failing after 6s
test / integration (pull_request) Successful in 6s
test / unit (pull_request) Successful in 6s
test / install (v0.14.0) (pull_request) Successful in 6s
test / install (v0.15.0) (pull_request) Successful in 7s
test / install-without-v-prefix (pull_request) Successful in 6s
test / reinstall-on-version-change (pull_request) Successful in 6s
to f53641ab59
All checks were successful
test / integration (pull_request) Successful in 5s
test / unit (pull_request) Successful in 7s
test / install (v0.14.0) (pull_request) Successful in 6s
test / install (v0.15.0) (pull_request) Successful in 7s
test / install-without-v-prefix (pull_request) Successful in 6s
test / reinstall-on-version-change (pull_request) Successful in 7s
test / actionlint (pull_request) Successful in 18s
2026-08-19 20:27:49 +00:00
Compare
stephen force-pushed add-actionlint-ci from f53641ab59
All checks were successful
test / integration (pull_request) Successful in 5s
test / unit (pull_request) Successful in 7s
test / install (v0.14.0) (pull_request) Successful in 6s
test / install (v0.15.0) (pull_request) Successful in 7s
test / install-without-v-prefix (pull_request) Successful in 6s
test / reinstall-on-version-change (pull_request) Successful in 7s
test / actionlint (pull_request) Successful in 18s
to e91617e53c
All checks were successful
test / integration (pull_request) Successful in 5s
test / unit (pull_request) Successful in 7s
test / install (v0.15.0) (pull_request) Successful in 6s
test / lint (pull_request) Successful in 7s
test / install (v0.14.0) (pull_request) Successful in 6s
test / install-without-v-prefix (pull_request) Successful in 6s
test / reinstall-on-version-change (pull_request) Successful in 7s
2026-08-19 20:29:17 +00:00
Compare
stephen deleted branch add-actionlint-ci 2026-08-19 20:30:50 +00:00
stephen referenced this pull request from a commit 2026-08-19 20:30:50 +00:00
Sign in to join this conversation.
No description provided.