Update readme #37
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: lint & test | |
on: | |
push: | |
branches: [ "develop" ] | |
env: | |
RUSTFLAGS: "-D warnings" | |
jobs: | |
lint: | |
runs-on: ubuntu-22.04 | |
steps: | |
- name: setup rust cache | |
uses: Swatinem/rust-cache@v2 | |
- name: checkout repository | |
uses: actions/checkout@v4 | |
- name: install tools | |
run: | | |
sudo apt-get install musl-tools -y | |
rustup target add x86_64-unknown-linux-musl | |
- name: lint | |
run: cargo clippy |