Add simple gitea runner demo
ubuntu / stable / fmt Details

This commit is contained in:
chmanie 2023-06-11 20:11:16 +02:00
parent 7f48bca5df
commit 2e167e6714
7 changed files with 20 additions and 8 deletions

20
.gitea/workflows/main.yml Normal file
View File

@ -0,0 +1,20 @@
name: CI checks
run-name: CI checks that run when main branch is changed
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
fmt:
runs-on: ubuntu-latest
name: ubuntu / stable / fmt
steps:
- uses: actions/checkout@v3
- name: Install stable
uses: https://github.com/dtolnay/rust-toolchain@stable
with:
components: rustfmt
- name: cargo fmt --check
run: cargo fmt --check --all

View File

@ -5,6 +5,3 @@ mod player_engine;
pub use decoder::MediaInfo;
pub use player::{Player, PlayerError};
pub use player_engine::PlayerMessage;

View File

@ -3,11 +3,6 @@ name = "crabidy-server"
version = "0.1.0"
edition = "2021"
[lib]
name = "crabidy_server"
path = "src/lib.rs"
[[bin]]
name = "crabidy_server"
path = "src/main.rs"