Skip to content

chore: bump package versions to 0.1.6 and update documentation #17

chore: bump package versions to 0.1.6 and update documentation

chore: bump package versions to 0.1.6 and update documentation #17

Workflow file for this run

name: Build
on:
push:
branches: [main]
pull_request:
branches: [main]
env:
CARGO_TERM_COLOR: always
jobs:
build:
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- name: Install Linux dependencies
if: runner.os == 'Linux'
run: |
sudo apt-get update
sudo apt-get install -y libxcb-render0-dev libxcb-shape0-dev libxcb-xfixes0-dev libxkbcommon-dev libssl-dev
- name: Setup Rust toolchain
uses: dtolnay/rust-toolchain@stable
- name: Cache cargo registry
uses: actions/cache@v4
with:
path: |
~/.cargo/registry
~/.cargo/git
target
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
restore-keys: |
${{ runner.os }}-cargo-
- name: Build
run: cargo build --release --workspace
- name: Run tests
run: cargo test --workspace
# lint:
# runs-on: ubuntu-latest
# steps:
# - uses: actions/checkout@v4
# - name: Install Linux dependencies
# run: |
# sudo apt-get update
# sudo apt-get install -y libxcb-render0-dev libxcb-shape0-dev libxcb-xfixes0-dev libxkbcommon-dev libssl-dev
# - name: Setup Rust toolchain
# uses: dtolnay/rust-toolchain@stable
# with:
# components: rustfmt, clippy
# - name: Check formatting
# run: cargo fmt --all -- --check
# - name: Clippy
# run: cargo clippy --workspace -- -D warnings