Skip to content

feat: expose raw c bindings with sys feature #13

feat: expose raw c bindings with sys feature

feat: expose raw c bindings with sys feature #13

Workflow file for this run

name: Lint
on:
workflow_dispatch: null
pull_request: null
jobs:
rustfmt:
runs-on: macos-latest
steps:
- name: Check out code into the proper directory
uses: actions/checkout@v3
with:
submodules: "true"
- name: Cache rust
uses: Swatinem/rust-cache@v2
- name: Install rust
uses: dtolnay/rust-toolchain@master
with:
toolchain: stable
components: rustfmt
- name: Check formatting
run: cargo fmt --check
clippy:
strategy:
fail-fast: false
matrix:
os: [macos-latest]
rust-version: [stable]
runs-on: ${{ matrix.os }}
steps:
- name: Check out code into the proper directory
uses: actions/checkout@v3
with:
submodules: "recursive"
- name: Cache rust
uses: Swatinem/rust-cache@v2
- name: Install rust
uses: dtolnay/rust-toolchain@master
with:
toolchain: ${{ matrix.rust-version }}
components: clippy
- name: Check clippy lints
run: cargo clippy
build:
strategy:
fail-fast: false
matrix:
os: [macos-latest]
rust-version: [stable]
runs-on: ${{ matrix.os }}
steps:
- name: Check out code into the proper directory
uses: actions/checkout@v3
with:
submodules: "recursive"
- name: Cache rust
uses: Swatinem/rust-cache@v2
- name: Install rust
uses: dtolnay/rust-toolchain@master
with:
toolchain: ${{ matrix.rust-version }}
- name: Check build
run: cargo build --verbose