misc: optimized dockerfile, gh actions for cargo
This commit is contained in:
18
.github/workflows/cargo-check.yml
vendored
Normal file
18
.github/workflows/cargo-check.yml
vendored
Normal 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
|
||||
Reference in New Issue
Block a user