Skip to content

Commit

Permalink
add basic CI
Browse files Browse the repository at this point in the history
  • Loading branch information
vic1707 committed Jul 9, 2024
1 parent 2e4224c commit e8ee506
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
github: vic1707
ko_fi: vic1707
custom: ["https://www.buymeacoffee.com/vic1707"]
26 changes: 26 additions & 0 deletions .github/workflows/fmt.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Fmt
on:
push:
branches:
- main
pull_request:
workflow_dispatch:

jobs:
pre_ci:
uses: dtolnay/.github/.github/workflows/pre_ci.yml@master
fmt_and_lint:
needs: pre_ci
runs-on: ubuntu-latest
steps:
-
uses: actions/checkout@v4
-
name: Install Rust
uses: IronCoreLabs/rust-toolchain@v1
-
name: Rust fmt
run: cargo fmt --all -- --check
-
name: Rust clippy
run: cargo clippy

0 comments on commit e8ee506

Please sign in to comment.