mirror of
https://code.forgejo.org/actions/forgejo-release.git
synced 2026-02-04 14:58:08 +00:00
docs: lint and fix
This commit is contained in:
parent
b93b6e8f70
commit
7556e6fc5f
3 changed files with 29 additions and 16 deletions
|
|
@ -1,10 +1,22 @@
|
|||
on: [ pull_request, push ]
|
||||
on: [pull_request, push]
|
||||
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_system_tea_bin
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue