setup workflow

This commit is contained in:
yggverse 2026-03-19 18:33:10 +02:00
parent e83d69a133
commit 6de74a3a82
3 changed files with 37 additions and 0 deletions

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

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

32
.github/workflows/linux.yml vendored Normal file
View file

@ -0,0 +1,32 @@
name: Linux
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
env:
CARGO_TERM_COLOR: always
RUSTFLAGS: -Dwarnings
jobs:
build:
# https://github.com/actions/runner-images
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
- name: Update rustup
run: rustup update
- name: Update cargo
run: cargo update
- 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 @@
# flarumdown # flarumdown
![Linux](https://github.com/YGGverse/flarumdown/actions/workflows/linux.yml/badge.svg)
[![Dependencies](https://deps.rs/repo/github/YGGverse/flarumdown/status.svg)](https://deps.rs/repo/github/YGGverse/flarumdown)
[![crates.io](https://img.shields.io/crates/v/flarumdown.svg)](https://crates.io/crates/flarumdown)
Flarum is down - read as Markdown Flarum is down - read as Markdown
CLI tool for Flarum v2 that allows to export public DB into the Markdown format. CLI tool for Flarum v2 that allows to export public DB into the Markdown format.