Prepare GitHub alpha launch (README, CI, tests, release workflow)

This commit is contained in:
Sebastian Palencsar
2026-02-23 07:44:41 +01:00
commit 5f66ae9e14
12 changed files with 3035 additions and 0 deletions

27
.github/pull_request_template.md vendored Executable file
View File

@@ -0,0 +1,27 @@
## Summary
Describe what changed and why.
## Type of Change
- [ ] Feature
- [ ] Fix
- [ ] Refactor
- [ ] Docs
- [ ] CI / Build
## What Was Tested
- [ ] `cargo fmt --check`
- [ ] `cargo clippy --all-targets --all-features -- -D warnings`
- [ ] `cargo test`
- [ ] `cargo check`
- [ ] Manual smoke test (`build` / `list` / `remove`) when behavior changed
## Behavior / Risk Notes
List any edge cases, compatibility impacts, or known limitations.
## Screenshots (if relevant)
Only needed when desktop integration behavior/UI-visible changes are involved.

20
.github/release.yml vendored Executable file
View File

@@ -0,0 +1,20 @@
changelog:
categories:
- title: Features
labels:
- feature
- enhancement
- title: Fixes
labels:
- fix
- bug
- title: Documentation
labels:
- docs
- title: Maintenance
labels:
- chore
- ci
exclude:
labels:
- skip-changelog

34
.github/workflows/ci.yml vendored Executable file
View File

@@ -0,0 +1,34 @@
name: CI
on:
push:
pull_request:
jobs:
checks:
name: Rust Checks
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install Rust toolchain
uses: dtolnay/rust-toolchain@stable
with:
components: rustfmt, clippy
- name: Cache cargo artifacts
uses: Swatinem/rust-cache@v2
- name: Format check
run: cargo fmt --check
- name: Clippy
run: cargo clippy --all-targets --all-features -- -D warnings
- name: Unit tests
run: cargo test
- name: Cargo check
run: cargo check

38
.github/workflows/release.yml vendored Executable file
View File

@@ -0,0 +1,38 @@
name: Release
on:
push:
tags:
- "v*"
permissions:
contents: write
jobs:
build-linux:
name: Build Linux Binary
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install Rust toolchain
uses: dtolnay/rust-toolchain@stable
- name: Cache cargo artifacts
uses: Swatinem/rust-cache@v2
- name: Build release binary
run: cargo build --release
- name: Prepare release asset
run: |
mkdir -p dist
cp target/release/deskify dist/deskify-linux-x86_64
- name: Upload GitHub Release asset
uses: softprops/action-gh-release@v2
with:
files: dist/deskify-linux-x86_64
generate_release_notes: true