wxbox/.forgejo/workflows/ci.yml

28 lines
543 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
container:
2025-03-04 21:00:37 -05:00
image: rust:1-bookworm
2025-03-04 20:51:33 -05:00
strategy:
matrix:
toolchain:
- stable
- beta
- nightly
steps:
- uses: actions/checkout@v4
- run: rustup update ${{ matrix.toolchain }} && rustup default ${{ matrix.toolchain }}
- run: cargo build
- run: cargo test
- run: cargo clippy
- run: cargo fmt --check