servicepoint-binding-c/.github/workflows/rust.yml
Vinzenz Schroeter c069c1966b
All checks were successful
Rust / build (push) Successful in 1m48s
split crate into own repository
2025-02-15 12:39:31 +01:00

35 lines
666 B
YAML

name: Rust
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
env:
CARGO_TERM_COLOR: always
# Make sure CI fails on all warnings, including Clippy lints
RUSTFLAGS: "-Dwarnings"
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Update repos
run: sudo apt-get update -qq
- name: Install rust toolchain
run: sudo apt-get install -qy cargo rust-clippy
- name: install lzma
run: sudo apt-get update && sudo apt-get install -y liblzma-dev
- name: Run Clippy
run: cargo clippy
- name: build
run: cargo build