Skip to content

Commit 77740da

Browse files
GoodbyePlanetclaude
andcommitted
chore: Add GitHub Actions CI, Dependabot, and build badge
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent d2d2c50 commit 77740da

3 files changed

Lines changed: 53 additions & 0 deletions

File tree

.github/dependabot.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
version: 2
2+
updates:
3+
- package-ecosystem: uv
4+
directory: /
5+
schedule:
6+
interval: weekly
7+
groups:
8+
dependencies:
9+
patterns: ["*"]
10+
11+
- package-ecosystem: github-actions
12+
directory: /
13+
schedule:
14+
interval: weekly

.github/workflows/ci.yml

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
name: CI
2+
3+
on:
4+
push:
5+
branches: [main]
6+
pull_request:
7+
branches: [main]
8+
9+
jobs:
10+
lint:
11+
name: Lint
12+
runs-on: ubuntu-latest
13+
steps:
14+
- uses: actions/checkout@v4
15+
16+
- uses: astral-sh/setup-uv@v5
17+
18+
- name: Check formatting
19+
run: uvx ruff format --check .
20+
21+
- name: Lint
22+
run: uvx ruff check .
23+
24+
test:
25+
name: Test
26+
runs-on: ubuntu-latest
27+
steps:
28+
- uses: actions/checkout@v4
29+
30+
- uses: astral-sh/setup-uv@v5
31+
with:
32+
enable-cache: true
33+
34+
- name: Install dependencies
35+
run: uv sync --frozen --all-groups
36+
37+
- name: Run tests
38+
run: uv run pytest --tb=short -q

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
![MCP Server](https://img.shields.io/badge/MCP-Server-blue)
22
![Python 3.12+](https://img.shields.io/badge/Python-3.12%2B-green)
33
![License MIT](https://img.shields.io/badge/License-MIT-yellow)
4+
[![CI](https://github.com/GoodbyePlanet/semcode/actions/workflows/ci.yml/badge.svg)](https://github.com/GoodbyePlanet/semcode/actions/workflows/ci.yml)
45

56
# semcode
67

0 commit comments

Comments
 (0)