setup workflow

This commit is contained in:
yggverse 2025-02-20 22:42:46 +02:00
parent 42341fdb6b
commit cdb6219763
3 changed files with 32 additions and 0 deletions

1
.github/FUNDING.yml vendored Normal file
View file

@ -0,0 +1 @@
custom: https://yggverse.github.io/#donate

27
.github/workflows/build.yml vendored Normal file
View file

@ -0,0 +1,27 @@
name: Build
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
env:
CARGO_TERM_COLOR: always
RUSTFLAGS: -Dwarnings
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Run rustfmt
run: cargo fmt --all -- --check
- name: Run clippy
run: cargo clippy --all-targets
- name: Build
run: cargo build --verbose
- name: Run tests
run: cargo test --verbose

View file

@ -1,5 +1,9 @@
# titanite
![Build](https://github.com/YGGverse/titanite/actions/workflows/build.yml/badge.svg)
[![Dependencies](https://deps.rs/repo/github/YGGverse/titanite/status.svg)](https://deps.rs/repo/github/YGGverse/titanite)
[![crates.io](https://img.shields.io/crates/v/titanite.svg)](https://crates.io/crates/titanite)
Client/Server Library for [Gemini protocol](https://geminiprotocol.net/docs/protocol-specification.gmi) with Titan support
Unlike [ggemini](https://github.com/YGGverse/ggemini), which was created for Glib-based applications, titanite is oriented for use with the native [Rust](https://www.rust-lang.org/) ecosystem ecosystem.