async-graphql/.github/workflows/ci.yml

26 lines
524 B
YAML
Raw Normal View History

2020-03-01 13:56:14 +00:00
name: CI
on:
push:
branches:
- master
2020-04-15 03:15:30 +00:00
pull_request:
branches:
- master
2020-03-01 13:56:14 +00:00
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
2020-03-20 15:32:02 +00:00
- name: Check format
run: cargo fmt --all -- --check
2020-03-21 01:32:13 +00:00
- name: Check with clippy
run: cargo clippy --all
2020-05-16 16:08:03 +00:00
- name: Build without features
run: cargo build --no-default-features
2020-03-20 15:32:02 +00:00
- name: Build
run: cargo build --all --verbose
2020-03-01 13:56:14 +00:00
- name: Run tests
run: cargo test --all --verbose