Skip to content

Commit 7feb401

Browse files
authored
Merge pull request #2 from lorrehuggan/colbolt
feat: add GitHub CI workflow for code quality checks
2 parents 3dabc76 + c572fc8 commit 7feb401

File tree

2 files changed

+47
-0
lines changed

2 files changed

+47
-0
lines changed

.github/workflows/lint.yml

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
name: Lint
2+
3+
on:
4+
push:
5+
branches: [main, develop]
6+
pull_request:
7+
branches: [main, develop]
8+
9+
jobs:
10+
lint:
11+
runs-on: ubuntu-latest
12+
timeout-minutes: 10
13+
14+
steps:
15+
- name: Checkout code
16+
uses: actions/checkout@v4
17+
18+
- name: Setup Bun
19+
uses: oven-sh/setup-bun@v1
20+
with:
21+
bun-version: latest
22+
23+
- name: Cache dependencies
24+
uses: actions/cache@v4
25+
with:
26+
path: ~/.bun/install/cache
27+
key: ${{ runner.os }}-bun-${{ hashFiles('**/bun.lockb') }}
28+
restore-keys: |
29+
${{ runner.os }}-bun-
30+
31+
- name: Install dependencies
32+
run: bun install --frozen-lockfile
33+
34+
- name: Run ESLint
35+
run: bun run lint:check
36+
37+
- name: Run Prettier check
38+
run: bun run format:check
39+
40+
- name: Run Svelte type check
41+
run: bun run check
42+
43+
- name: Summary
44+
if: success()
45+
run: echo "✅ All linting checks passed!"

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# Tektite - Tauri + SvelteKit + TypeScript
22

3+
[![Lint](https://github.com/YOUR_USERNAME/tektite/actions/workflows/lint.yml/badge.svg)](https://github.com/lorrehuggan/tektite/actions/workflows/lint.yml)
4+
35
Modern desktop application built with Tauri, SvelteKit, and TypeScript featuring comprehensive code
46
quality tooling.
57

0 commit comments

Comments
 (0)