30 lines
No EOL
542 B
YAML
30 lines
No EOL
542 B
YAML
name: build and test
|
|
|
|
on:
|
|
push:
|
|
pull_request:
|
|
|
|
env:
|
|
CARGO_TERM_COLOR: always
|
|
|
|
jobs:
|
|
build_and_test:
|
|
name: wxbox - latest
|
|
runs-on: docker
|
|
container:
|
|
image: node
|
|
strategy:
|
|
matrix:
|
|
toolchain:
|
|
- stable
|
|
- beta
|
|
- nightly
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- uses: dtolnay/rust-toolchain@master
|
|
with:
|
|
toolchain: ${{ matrix.toolchain }}
|
|
- run: cargo build
|
|
- run: cargo test
|
|
- run: cargo clippy
|
|
- run: cargo fmt --check |