wxbox/.forgejo/workflows/ci.yml

30 lines
542 B
YAML
Raw Normal View History

2025-03-04 20:51:33 -05:00
name: build and test
on:
push:
pull_request:
env:
CARGO_TERM_COLOR: always
jobs:
build_and_test:
name: wxbox - latest
2025-03-04 20:55:06 -05:00
runs-on: docker
2025-03-04 21:03:32 -05:00
container:
image: node
2025-03-04 20:51:33 -05:00
strategy:
matrix:
toolchain:
- stable
- beta
- nightly
steps:
- uses: actions/checkout@v4
2025-03-04 21:11:58 -05:00
- uses: dtolnay/rust-toolchain@master
with:
toolchain: ${{ matrix.toolchain }}
- run: cargo build
- run: cargo test
- run: cargo clippy
- run: cargo fmt --check