Files
sharedinbox/.forgejo/workflows/ci.yml
T
Thomas SharedInboxandClaude Sonnet 4.6 bfb00e028a fix: correct github→gitea/codeberg refs and add privacy policy page
- Replace github.ref with gitea.ref in ci.yml (Forgejo uses gitea context)
- Fix README.md CI path from .github/ to .forgejo/
- Use codeberg icon instead of github icon in hugo.toml social link
- Add Privacy Policy page required for Google Play Store submission
- Add Privacy Policy link to website nav menu

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-13 10:38:38 +02:00

45 lines
1.2 KiB
YAML

name: CI
on:
push:
branches: [main]
pull_request:
jobs:
check:
name: Full Project Check
# Match the label of your self-hosted runner
runs-on: self-hosted
steps:
- uses: actions/checkout@v4
- name: Enable Nix flakes
run: |
mkdir -p ~/.config/nix
echo "experimental-features = nix-command flakes" >> ~/.config/nix/nix.conf
- name: Run Full Check Suite
# Using nix develop ensures the runner doesn't need flutter/dart/stalwart installed globally.
# 'task check' runs analyze, unit tests, widget tests, and integration tests.
run: nix develop --command task check
build-linux:
name: Build Linux Release
runs-on: self-hosted
needs: check
if: gitea.ref == 'refs/heads/main'
steps:
- uses: actions/checkout@v4
- name: Enable Nix flakes
run: |
mkdir -p ~/.config/nix
echo "experimental-features = nix-command flakes" >> ~/.config/nix/nix.conf
- name: Build Linux
# The Taskfile task 'build-linux' currently builds --debug.
# You can add a 'build-linux-release' task or override it here.
run: nix develop --command fvm flutter build linux --release