Update CI
This commit is contained in:
parent
6b92b8c11b
commit
7f08be60f6
|
@ -12,7 +12,10 @@ jobs:
|
|||
build:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v1
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v2
|
||||
with:
|
||||
submodules: true
|
||||
- uses: actions-rs/toolchain@v1
|
||||
with:
|
||||
toolchain: stable
|
||||
|
@ -29,6 +32,17 @@ jobs:
|
|||
- name: Run tests
|
||||
run: cargo test --all --verbose
|
||||
|
||||
# examples
|
||||
- name: Check examples format
|
||||
run: cargo fmt --all -- --check
|
||||
working-directory: ./examples
|
||||
- name: Check examples with clippy
|
||||
run: cargo clippy --all
|
||||
working-directory: ./examples
|
||||
- name: Build
|
||||
run: cargo build --all --verbose
|
||||
working-directory: ./examples
|
||||
|
||||
# build on nightly
|
||||
- uses: actions-rs/toolchain@v1
|
||||
with:
|
||||
|
|
|
@ -39,9 +39,6 @@ jobs:
|
|||
# - name: async-graphql-rocket
|
||||
# registryName: async-graphql-rocket
|
||||
# path: async-graphql-rocket
|
||||
# - name: async-graphql-lambda
|
||||
# registryName: async-graphql-lambda
|
||||
# path: async-graphql-lambda
|
||||
steps:
|
||||
- uses: actions-rs/toolchain@v1
|
||||
with:
|
||||
|
|
Loading…
Reference in New Issue