diff --git a/.github/workflows/cbt.yml b/.github/workflows/cbt.yml new file mode 100644 index 0000000..e649dab --- /dev/null +++ b/.github/workflows/cbt.yml @@ -0,0 +1,23 @@ +name: cargo basic build-test + +on: + push: + pull_request: + +env: + CARGO_TERM_COLOR: always + +jobs: + build_and_test: + name: Sabry - latest + runs-on: ubuntu-latest + strategy: + matrix: + toolchain: + - stable + - nightly + steps: + - uses: actions/checkout@v4 + - run: rustup update ${{ matrix.toolchain }} && rustup default ${{ matrix.toolchain }} + - run: cargo build --verbose + - run: cargo test --verbose -all --all-features