This repository has been archived by the owner on Jan 2, 2025. It is now read-only.
Added a workspace with the "assemblers" library #2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Check, format and test | |
on: | |
push: | |
jobs: | |
build: | |
container: docker.io/rust:1.79.0-alpine3.20 | |
runs-on: linux | |
steps: | |
- name: Install the dependencies | |
run: | | |
rustup component add clippy rustfmt && | |
apk update && | |
apk add 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 -- -Dclippy::pedantic -Dclippy::nursery |