Skip to content

Added get rotator position endpoint #10

Added get rotator position endpoint

Added get rotator position endpoint #10

Workflow file for this run

name: Rust
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
env:
CARGO_TERM_COLOR: always
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: 'Checkout'
uses: actions/checkout@v4
- name: 'Set up Rust environment'
uses: dtolnay/rust-toolchain@master
with:
toolchain: stable
targets: x86_64-unknown-linux-gnu
- name: 'Cache Rust dependencies'
uses: actions/cache@v4
with:
path: target
key: ${{ runner.OS }}-build-${{ hashFiles('**/Cargo.lock') }}
restore-keys: |
${{ runner.OS }}-build-
- name: 'Install libudev'
run: sudo apt install libudev-dev
- name: 'Build'
run: cargo build --verbose --target x86_64-unknown-linux-gnu
- name: 'Run clippy'
run: cargo clippy --verbose --target x86_64-unknown-linux-gnu -- -D warnings