chore: bootstrap Claude setup

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
dasemuandClaude Sonnet 5 committed 2026-10-18 15:09:39 +02:00
1 parent c4ade94324
commit 533d4a0744
9 files changed
+185

No files matched your search

+27
View File
@@ -0,0 +1,27 @@
name: CI
on:
pull_request:
branches: [master]
push:
branches: [master]
jobs:
check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.12"
cache: "pip"
- name: Install dependencies
run: pip install -r requirements.txt
# No linter or test suite is configured yet for this project.
# This is a syntax-check placeholder; replace with real lint/test
# commands once they exist.
- name: Syntax check
run: python -m py_compile server.py
+37
View File
@@ -0,0 +1,37 @@
name: Version bump
# This repo currently only has a single long-lived branch (master), not the
# development/main split described in the global workflow convention. Until
# a development branch exists, every push to master bumps PATCH.
on:
push:
branches: [master]
permissions:
contents: write
jobs:
bump:
if: >-
github.actor != 'github-actions[bot]' &&
!contains(github.event.head_commit.message, '[skip ci]')
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
token: ${{ secrets.GITHUB_TOKEN }}
- name: Bump patch version
run: |
set -e
version=$(cat VERSION)
IFS='.' read -r major minor patch <<< "$version"
patch=$((patch + 1))
new_version="$major.$minor.$patch"
echo "$new_version" > VERSION
git config user.name "github-actions[bot]"
git config user.email "github-actions[bot]@users.noreply.github.com"
git add VERSION
git commit -m "chore(release): v$new_version [skip ci]"
git push