Skip to content

clean up code, add more struct types for responses and bump dependencies #52

clean up code, add more struct types for responses and bump dependencies

clean up code, add more struct types for responses and bump dependencies #52

Workflow file for this run

name: Continuous Integration Checks
on: [push, pull_request]
jobs:
build:
strategy:
matrix:
platform: [ ubuntu-latest, macos-latest ]
toolchain: [ stable ]
include:
- toolchain: stable
check-fmt: true
runs-on: ${{ matrix.platform }}
steps:
- name: Checkout source code
uses: actions/checkout@v2
- name: Install Rust ${{ matrix.toolchain }} toolchain
uses: actions-rs/toolchain@v1
with:
toolchain: ${{ matrix.toolchain }}
override: true
profile: minimal
- name: Build on Rust ${{ matrix.toolchain }}
run: cargo build --verbose --color always
- name: Check formatting
if: matrix.check-fmt
run: rustup component add rustfmt && cargo fmt --all -- --check