Skip to content

Use NonNull in as_ptr and into_raw #109

Use NonNull in as_ptr and into_raw

Use NonNull in as_ptr and into_raw #109

Workflow file for this run

name: macos
on: [push, pull_request]
jobs:
build:
name: Build - MacOS
runs-on: macOS-latest
strategy:
matrix:
os: [macOS-latest]
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Install stable
uses: actions-rs/toolchain@v1
with:
toolchain: stable
override: true
- name: Install components
run: rustup component add --toolchain stable rustfmt clippy
- name: Fetch
uses: actions-rs/cargo@v1
with:
command: fetch
- name: Check
uses: actions-rs/cargo@v1
with:
command: check
- name: Format
uses: actions-rs/cargo@v1
with:
command: fmt
arguments: --all -- --check
- name: Clippy
uses: actions-rs/cargo@v1
with:
command: clippy
arguments: -- -D warnings