misc: optimized dockerfile, gh actions for cargo

This commit is contained in:
2026-04-25 23:17:29 -04:00
Unverified
parent 0b2b5cc6cc
commit 521b0b696c
3 changed files with 51 additions and 8 deletions

18
.github/workflows/cargo-check.yml vendored Normal file
View File

@@ -0,0 +1,18 @@
name: Cargo Check
on:
push:
pull_request:
jobs:
cargo-check:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Install Rust toolchain
uses: dtolnay/rust-toolchain@stable
- name: Run cargo check
run: cargo check --all-targets