Skip to content

Add option to prefer static linking #62

Add option to prefer static linking

Add option to prefer static linking #62

Workflow file for this run

name: Check
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
env:
CARGO_TERM_COLOR: always
jobs:
check:
name: Check
runs-on: ubuntu-latest
steps:
- name: Checkout out repository
uses: actions/checkout@v2
with:
submodules: true
- name: Install latest stable Rust toolchain
uses: actions-rs/toolchain@v1
with:
toolchain: stable
override: true
- name: Run cargo check
uses: actions-rs/cargo@v1
with:
command: check
args: --workspace --all-targets --all-features
fmt:
name: Format
runs-on: ubuntu-latest
steps:
- name: Checkout out repository
uses: actions/checkout@v1
- name: Install latest stable Rust toolchain
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
override: true
components: rustfmt
- name: Run cargo fmt
uses: actions-rs/cargo@v1
with:
command: fmt
args: --all -- --check
clippy:
name: Clippy
runs-on: ubuntu-latest
steps:
- name: Checkout out repository
uses: actions/checkout@v1
with:
submodules: true
- name: Install latest stable Rust toolchain
uses: actions-rs/toolchain@v1
with:
toolchain: stable
override: true
components: clippy
- name: Run clippy with default features
uses: actions-rs/cargo@v1
with:
command: clippy
args: --workspace --all-targets -- -D warnings
#- name: Run clippy with no features
# uses: actions-rs/cargo@v1
# with:
# command: clippy
# args: --workspace --all-targets --no-default-features -- -D warnings
#- name: Run clippy with all features
# uses: actions-rs/cargo@v1
# with:
# command: clippy
# args: --workspace --all-targets --all-features -- -D warnings