Skip to content

Run clippy, fixes a bug where section.view_size returned data_size #20

Run clippy, fixes a bug where section.view_size returned data_size

Run clippy, fixes a bug where section.view_size returned data_size #20

Workflow file for this run

name: CI
on: [push, pull_request]
jobs:
check:
name: Check
runs-on: windows-latest
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
override: true
- uses: actions-rs/cargo@v1
with:
command: check
args: --manifest-path native/Cargo.toml
test:
name: Test Suite
runs-on: windows-latest
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
override: true
- uses: actions-rs/cargo@v1
with:
command: test
args: --manifest-path native/Cargo.toml
fmt:
name: Rustfmt
runs-on: windows-latest
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
override: true
- run: rustup component add rustfmt
- uses: actions-rs/cargo@v1
with:
command: fmt
args: --manifest-path native/Cargo.toml --all -- --check
clippy:
name: Clippy
runs-on: windows-latest
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
override: true
- run: rustup component add clippy
- uses: actions-rs/cargo@v1
with:
command: clippy
args: --manifest-path native/Cargo.toml -- -D warnings