async-graphql/.github/workflows/ci.yml
2020-09-06 18:29:46 +08:00

30 lines
627 B
YAML

name: CI
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions-rs/toolchain@v1
with:
toolchain: 1.46
override: true
- name: Check format
run: cargo fmt --all -- --check
- name: Check with clippy
run: cargo clippy --all
- name: Build without features
run: cargo build --no-default-features
- name: Build
run: cargo build --all --verbose
- name: Run tests
run: cargo test --all --verbose