jni-toolbox/.github/workflows/test.yml

31 lines
500 B
YAML
Raw Normal View History

2024-09-22 02:12:04 +02:00
name: test
on:
push:
branches:
- dev
env:
CARGO_TERM_COLOR: always
permissions:
contents: read
jobs:
build:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
toolchain:
- stable
- beta
- nightly
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@master
with:
toolchain: ${{ matrix.toolchain }}
- run: cargo build --verbose
- run: cargo test --verbose