Add test workflow and document CI/CD setup
Some checks failed
Test CI / test (pull_request) Failing after 38s
Some checks failed
Test CI / test (pull_request) Failing after 38s
- Create .forgejo/workflows/test.yaml with basic hello world workflow - Update README.md with CI/CD section explaining Forgejo Actions Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
parent
338456b820
commit
70f2227313
2 changed files with 24 additions and 0 deletions
20
.forgejo/workflows/test.yaml
Normal file
20
.forgejo/workflows/test.yaml
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
name: Test CI
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [main]
|
||||
pull_request:
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
test:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
- name: Hello World
|
||||
run: |
|
||||
echo "Hello from Forgejo Actions!"
|
||||
echo "Runner: $(hostname)"
|
||||
echo "Repository: ${{ gitea.repository }}"
|
||||
echo "Branch: ${{ gitea.ref_name }}"
|
||||
|
|
@ -74,6 +74,10 @@ Hooks include:
|
|||
- **TOML**: taplo
|
||||
- **JSON**: prettier
|
||||
|
||||
## CI/CD
|
||||
|
||||
This repo uses [Forgejo Actions](https://forgejo.org/docs/latest/user/actions/) for CI/CD. Workflows live in `.forgejo/workflows/` (not `.github/workflows/`). The runner executes jobs in host mode within the Kubernetes cluster.
|
||||
|
||||
## Documentation
|
||||
|
||||
Detailed documentation lives in my personal zettelkasten, which is not included in this repository. You can view the docs with:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue