Files
bdwgc-rust/.github/workflows/test.yaml
Yota Toyama 181d4380b0 Revert "Remove token"
This reverts commit ba59f8100a.
2020-11-28 04:56:09 +00:00

31 lines
691 B
YAML

name: test
on:
- push
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
submodules: true
- uses: actions-rs/toolchain@v1
- uses: actions-rs/cargo@v1
with:
command: build
- uses: actions-rs/cargo@v1
with:
command: fmt
args: -- --check
- uses: actions-rs/cargo@v1
with:
command: clippy
- uses: actions-rs/audit-check@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
- run: |
cd examples
./test.sh
- run: |
git clean -dfx
cargo build --no-default-features --features cmake