Removed Nix and the sample-main, added a CI/CD pipeline and updated the README.md
Some checks failed
Check, format and test / build (push) Failing after 49s

This commit is contained in:
2024-07-31 12:00:34 +02:00
parent 987af19ec8
commit b2b5f0c66c
13 changed files with 125 additions and 139 deletions

View File

@@ -0,0 +1,31 @@
name: Check, format and test
on:
push:
jobs:
build:
container: docker.io/rust:1.79.0-alpine3.20
steps:
- name: Install the dependencies
run: |
rustup component add clippy rustfmt &&
apk update &&
apk add musl-dev git npm
- name: Checkout the code
uses: actions/checkout@v3
with:
submodules: recursive
- name: Check if the code compiles
run: cargo check
- name: Check if the tests run correctly
run: cargo test
- name: Check if the code is formatted correctly
run: cargo fmt --check
- name: Check if Clippy has someting to say
run: cargo clippy --all-targets