hudhook 0.9.1

A graphics API hook with dear imgui render loop. Supports DirectX 9, 11, 12, and OpenGL 3.
---
name: Lint

on:
  workflow_dispatch:
  pull_request:

jobs:
  lint:
    runs-on: windows-latest
    steps:
      - name: Checkout
        uses: actions/checkout@v4

      - name: Install Rust toolchain
        run: |
          rustup toolchain install nightly --target x86_64-pc-windows-msvc,i686-pc-windows-msvc --profile minimal -c rustfmt,clippy

      - name: Format
        run: |
          cargo +nightly fmt --all -- --check

      - name: Clippy
        run: |
          cargo +nightly clippy --all-targets --target x86_64-pc-windows-msvc -- -D clippy::all
          cargo +nightly clippy --all-targets --target i686-pc-windows-msvc -- -D clippy::all