Skip to content

Merge pull request #153 from JakeStanger/dependabot/cargo/serde_json-… #273

Merge pull request #153 from JakeStanger/dependabot/cargo/serde_json-…

Merge pull request #153 from JakeStanger/dependabot/cargo/serde_json-… #273

Workflow file for this run

name: Build
on:
workflow_dispatch:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
env:
CARGO_TERM_COLOR: always
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
override: true
- name: Check formatting
run: cargo fmt --check
- name: Clippy
uses: actions-rs/clippy-check@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
args: --all-features
- name: Build
run: cargo build --verbose
# - name: Run tests
# uses: actions-rs/cargo@v1
# with:
# command: test