Skip to content

Bump philss/rustler-precompiled-action from 1.1.3 to 1.1.4 #158

Bump philss/rustler-precompiled-action from 1.1.3 to 1.1.4

Bump philss/rustler-precompiled-action from 1.1.3 to 1.1.4 #158

Workflow file for this run

name: Rust CI
on:
pull_request:
push:
branches:
- main
defaults:
run:
working-directory: ./native/comrak_nif/
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: dtolnay/rust-toolchain@stable
with:
toolchain: stable
components: rustfmt, clippy
- uses: actions/cache@v3
with:
path: |
~/.cargo/bin/
~/.cargo/registry/index/
~/.cargo/registry/cache/
~/.cargo/git/db/
target/
key: rust-cargo-${{ hashFiles('**/Cargo.lock') }}
- run: cargo fmt -- --check
- run: |
touch src/lib.rs
cargo clippy --all-targets --all-features -- -D warnings