Skip to content

perf(04/2024): optimize a bit using binary representation #40

perf(04/2024): optimize a bit using binary representation

perf(04/2024): optimize a bit using binary representation #40

Workflow file for this run

name: Rust
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
env:
CARGO_TERM_COLOR: always
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Cache setup
uses: Swatinem/rust-cache@v2
- name: Run build
run: cargo build --verbose
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Cache setup
uses: Swatinem/rust-cache@v2
- name: Run tests
run: cargo test --verbose
format:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Run format check
run: cargo fmt --check
clippy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Cache setup
uses: Swatinem/rust-cache@v2
- name: Run clippy
run: cargo clippy