30 lines
574 B
YAML
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
|