Skip to content

build: update dependencies #667

build: update dependencies

build: update dependencies #667

Workflow file for this run

name: Rust
on:
push:
branches: [main]
pull_request:
env:
CARGO_TERM_COLOR: always
jobs:
build:
runs-on: ${{ matrix.config.os }}
strategy:
fail-fast: false
matrix:
config:
- { os: "ubuntu-latest" }
- { os: "macos-latest" }
- { os: "windows-latest" }
steps:
- uses: actions/checkout@v2
- name: Install latest Rust stable toolchain
uses: actions-rs/toolchain@v1
with:
toolchain: stable
default: true
components: clippy, rustfmt
- name: Build
run: make build
- name: Run tests
run: make test
cargo-deny:
name: Run cargo deny
runs-on: ubuntu-latest
strategy:
matrix:
checks:
- advisories
- bans licenses sources
steps:
- uses: actions/checkout@v2
- name: Install latest Rust stable toolchain
uses: actions-rs/toolchain@v1
with:
toolchain: stable
default: true
components: clippy, rustfmt
- uses: EmbarkStudios/cargo-deny-action@v1
with:
command: check ${{ matrix.checks }}