From: Simon Cozens Date: Wed, 22 Jan 2025 16:19:45 +0000 (+0000) Subject: Rust CI job X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=57197ac1aa378ab02b20b216cd24cced4db2e9cb;p=thirdparty%2Fgoogle%2Ffonts.git Rust CI job --- diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml new file mode 100644 index 0000000000..ab31e28c2d --- /dev/null +++ b/.github/workflows/rust.yml @@ -0,0 +1,28 @@ +name: Rust + +on: + push: + branches: ["main"] + pull_request: + branches: ["main"] + +env: + CARGO_TERM_COLOR: always + +jobs: + build: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v3 + with: + submodules: recursive + - name: Install protoc + run: sudo apt-get install protobuf-compiler + - name: Build + run: cargo build --verbose + - name: Check for lints + run: cargo clippy + - name: Run tests + run: | + cargo test --verbose