9
0
Fork 0
mirror of https://code.forgejo.org/actions/forgejo-release synced 2026-02-18 20:47:01 +00:00
forgejo-release/.forgejo/workflows/tests.yml
2026-02-17 19:29:53 +01:00

27 lines
608 B
YAML

on:
pull_request:
push:
branches:
- '**'
jobs:
tests:
runs-on: docker
container:
image: data.forgejo.org/oci/node:24-trixie
steps:
- uses: actions/checkout@v6
- 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
}
- name: Unit tests of the supporting script forgejo-release.sh
run: |
testdata/forgejo-release-test.sh test_maybe_sign_release