This repository was archived by the owner on Jan 18, 2026. It is now read-only.
ci: add update-flake.yml (#6) #8
This file contains hidden or 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 | |
| on: [push, pull_request] | |
| env: | |
| RUSTFLAGS: "-Dwarnings" | |
| jobs: | |
| clippy-check: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Run clippy | |
| run: | | |
| sudo apt-get update && sudo apt-get install protobuf-compiler | |
| rustup toolchain install nightly | |
| rustup component add --toolchain nightly clippy | |
| cargo +nightly clippy --all-targets --all-features | |
| fmt-check: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Run fmt | |
| run: | | |
| sudo apt-get update && sudo apt-get install protobuf-compiler | |
| rustup toolchain install nightly | |
| rustup component add --toolchain nightly rustfmt | |
| cargo +nightly fmt --all -- --check |