Skip to content

chore: Remove num-traits dep #175

chore: Remove num-traits dep

chore: Remove num-traits dep #175

Workflow file for this run

name: CI
on: [push, pull_request]
jobs:
test-linux:
name: Tests
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
timeout-minutes: 20
env:
RUST_BACKTRACE: 1
steps:
- name: Install atftp (Linux)
if: matrix.os == 'ubuntu-latest'
run: |
sudo apt-get update
sudo apt-get install -y atftp
- name: Install toolchain
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
override: true
- name: Checkout sources
uses: actions/checkout@v1
- name: Run tests
uses: actions-rs/cargo@v1
with:
command: test
args: --all-features
- name: Run long tests
uses: actions-rs/cargo@v1
with:
command: test
args: '--all-features -- tests:: --ignored'
lints:
name: Lints
runs-on: ubuntu-latest
steps:
- name: Install toolchain
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
override: true
components: rustfmt, clippy
- uses: actions/checkout@v1
- name: Run cargo fmt
uses: actions-rs/cargo@v1
with:
command: fmt
args: --all -- --check
- name: Run cargo clippy
uses: actions-rs/cargo@v1
with:
command: clippy
args: -- -D clippy::all