Skip to content
This repository has been archived by the owner on Jan 30, 2024. It is now read-only.

Remove default format logic #1053

Remove default format logic

Remove default format logic #1053

Workflow file for this run

name: CI
on:
push:
branches: [ main, staging, trying ]
pull_request:
branches: [ main ]
merge_group:
jobs:
test:
strategy:
matrix:
os:
- ubuntu-latest
- macOS-latest
- windows-latest
runs-on: ${{ matrix.os }}
timeout-minutes: 20
steps:
- uses: actions/checkout@v3
- name: Use the latest stable release
run: rustup update stable && rustup default stable
- name: Install C libraries for tooling
if: matrix.os == 'ubuntu-latest'
run: sudo apt-get update && sudo apt-get install libudev-dev libusb-1.0-0-dev
- run: cargo build
- run: cargo test
static:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Use the latest stable release
run: rustup update stable && rustup default stable
- name: Install C libraries for tooling
run: sudo apt-get update && sudo apt-get install libudev-dev libusb-1.0-0-dev
- run: cargo fmt --check
- run: cargo clippy --all-targets -- -D warnings