Files
project-template/.gitea/workflows/ci.yml
Codex 44316ee9e3
All checks were successful
CI / smoke (push) Successful in 10s
Initialize project template
2026-04-05 09:31:36 +08:00

30 lines
574 B
YAML

name: CI
on:
push:
branches:
- main
pull_request:
workflow_dispatch:
jobs:
smoke:
runs-on: linux-amd64
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Show workspace
run: |
echo "repo: ${GITHUB_REPOSITORY}"
echo "sha: ${GITHUB_SHA}"
pwd
git status --short
find . -maxdepth 2 -type f | sort
- name: Validate template files
run: |
test -f README.md
test -f .editorconfig
test -f .gitea/workflows/ci.yml