Add CI
Signed-off-by: Marcel Müller <neikos@neikos.email>
This commit is contained in:
parent
87db209786
commit
a2f0834602
1 changed files with 22 additions and 0 deletions
22
.forgejo/workflows/ci.yml
Normal file
22
.forgejo/workflows/ci.yml
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
name: Cargo Build & Test
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
pull_request:
|
||||
|
||||
env:
|
||||
CARGO_TERM_COLOR: always
|
||||
|
||||
jobs:
|
||||
build_and_test:
|
||||
name: hem - Build & Test
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- name: Install Rust
|
||||
uses: https://github.com/dtolnay/rust-toolchain@1.88
|
||||
- run: cargo clippy -- -D warnings
|
||||
- run: cargo build --verbose
|
||||
- run: cargo test --verbose
|
||||
Loading…
Add table
Add a link
Reference in a new issue