2026-01-21 09:46:10 +00:00
|
|
|
on:
|
|
|
|
|
pull_request:
|
|
|
|
|
push:
|
|
|
|
|
branches:
|
|
|
|
|
- "**"
|
|
|
|
|
|
2023-05-26 13:03:49 +02:00
|
|
|
jobs:
|
2025-09-08 14:46:48 +02:00
|
|
|
tests:
|
2023-11-05 22:30:57 +01:00
|
|
|
runs-on: docker
|
2026-01-21 09:38:02 +00:00
|
|
|
container:
|
|
|
|
|
image: data.forgejo.org/oci/node:24-trixie
|
|
|
|
|
|
2023-05-26 13:03:49 +02:00
|
|
|
steps:
|
2026-01-09 16:59:25 +00:00
|
|
|
- uses: actions/checkout@v6
|
2023-05-26 13:03:49 +02:00
|
|
|
|
2026-01-21 09:38:02 +00:00
|
|
|
- name: lint action-docs
|
|
|
|
|
run: |
|
|
|
|
|
npx --yes action-docs -u
|
|
|
|
|
git diff --quiet || {
|
|
|
|
|
echo "[ERROR] Please apply the changes action-docs suggests:"
|
|
|
|
|
git diff --color=always
|
|
|
|
|
exit 1
|
|
|
|
|
}
|
|
|
|
|
|
2023-05-26 13:03:49 +02:00
|
|
|
- name: Unit tests of the supporting script forgejo-release.sh
|
|
|
|
|
run: |
|
2025-06-28 20:36:41 +00:00
|
|
|
testdata/forgejo-release-test.sh test_system_tea_bin
|
|
|
|
|
testdata/forgejo-release-test.sh test_download_tea_bin
|
2025-09-08 14:46:48 +02:00
|
|
|
testdata/forgejo-release-test.sh test_maybe_sign_release
|