Skip to content

Fix #29: revamp Dockerfile to support both x86_64 and aarch64 #725

Fix #29: revamp Dockerfile to support both x86_64 and aarch64

Fix #29: revamp Dockerfile to support both x86_64 and aarch64 #725

Workflow file for this run

name: Rust
on: [push, pull_request]
permissions:
contents: read
env:
CARGO_TERM_COLOR: always
jobs:
test:
name: Test and lint
runs-on: ubuntu-latest
steps:
- name: Checkout repo
uses: actions/checkout@v4
- name: Install Rust
uses: dtolnay/rust-toolchain@1.88.0
with:
components: clippy,rustfmt
- run: cargo clippy -- -Dwarnings
- run: cargo fmt --all --check
- run: cargo test --all-targets
spaces-check:
name: Spaces Check
runs-on: ubuntu-latest
steps:
- name: Checkout repo
uses: actions/checkout@v4
- name: Spaces check
run: git diff-tree --check $(git hash-object -t tree /dev/null) HEAD