Initial commit

This commit is contained in:
Xavier Morel
2024-11-27 16:47:47 +01:00
committed by GitHub
commit f735e7d3da
35 changed files with 2877 additions and 0 deletions

33
.github/workflows/ci.yml vendored Normal file
View File

@@ -0,0 +1,33 @@
name: Continuous Integration
on: push
env:
CARGO_TERM_COLOR: always
jobs:
ci:
runs-on: ubuntu-latest
name: Continuous Integration
steps:
- uses: actions/checkout@v4
- name: Set up cargo cache
uses: actions/cache@v4
continue-on-error: false
with:
path: |
~/.cargo/bin/
~/.cargo/registry/index/
~/.cargo/registry/cache/
~/.cargo/git/db/
target/
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
restore-keys: ${{ runner.os }}-cargo-
- name: cargo test
run: cargo test
# uncomment to enable clippy linter
# - name: cargo clippy
# run: cargo clippy -- -D warnings
# uncomment to enable format linter
# - name: cargo fmt
# run: cargo fmt --check