Fork of https://github.com/oxigraph/oxigraph.git for the purpose of NextGraph project
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
34 lines
693 B
34 lines
693 B
name: build
|
|
|
|
on: [push, pull_request]
|
|
|
|
jobs:
|
|
fmt:
|
|
name: fmt
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v1
|
|
- run: rustup update
|
|
- run: rustup component add rustfmt
|
|
- run: cargo fmt -- --check
|
|
|
|
clippy:
|
|
name: clippy
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v1
|
|
- run: rustup update
|
|
- run: rustup component add clippy
|
|
- run: cargo clippy --all --all-targets
|
|
|
|
test:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v1
|
|
with:
|
|
submodules: true
|
|
- run: rustup update
|
|
- run: cargo build
|
|
- run: cargo test --verbose --all
|
|
env:
|
|
RUST_BACKTRACE: 1 |