chore: makefile and CI test

This commit is contained in:
iff 2025-04-05 00:14:48 +02:00
parent 5a4ef05828
commit 4f637c1e1b
2 changed files with 27 additions and 4 deletions

View file

@ -1,29 +0,0 @@
name: Rust
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
env:
CARGO_TERM_COLOR: always
CARGO_INCREMENTAL: 0
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Caching
uses: Swatinem/rust-cache@v2
with:
key: build-and-test
- name: Build
run: cargo build --verbose
- name: Run tests
run: cargo test --verbose