prepare for release #19
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
on: | |
push: | |
name: Tests | |
jobs: | |
tests: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Install Prettier | |
run: npm install -g prettier | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Run cargo fmt | |
run: cargo fmt --check | |
- name: Run Prettier | |
run: prettier --check "**/*.{md,json,prettierrc}" | |
- name: Run cargo clippy | |
run: cargo clippy --locked -- -D warnings | |
- name: Run tests | |
env: | |
RUST_BACKTRACE: 1 | |
run: cargo test --locked |