Skip to content

Add default deserialization value for license field of config (#126) #316

Add default deserialization value for license field of config (#126)

Add default deserialization value for license field of config (#126) #316

Workflow file for this run

name: CI
on:
pull_request:
push:
branches: [master, staging, trying]
paths:
- "**.rs"
- "**.toml"
- "**.lock"
- "**.yaml"
env:
RUSTFLAGS: "--deny warnings --warn unreachable-pub"
jobs:
rust:
name: Rust
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
- name: Install Rust
uses: actions-rs/toolchain@v1
with:
toolchain: stable
override: true
profile: minimal
components: clippy
- name: Load Rust/Cargo cache
uses: Swatinem/rust-cache@v2
- name: Build
uses: actions-rs/cargo@v1
with:
command: build
args: --all-targets --all-features --locked
- name: Clippy
uses: actions-rs/cargo@v1
with:
command: clippy
args: --all-targets --all-features
- name: Test
uses: actions-rs/cargo@v1
with:
command: test
args: --all-features --locked
fmt:
name: Formatting
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install Rust
uses: actions-rs/toolchain@v1
with:
toolchain: stable
override: true
profile: minimal
components: rustfmt
- name: Check formatting
uses: actions-rs/cargo@v1
with:
command: fmt
args: -- --check