wxbox/.forgejo/workflows/ci.yml
core 12f5c12849
Some checks failed
Verify Latest Dependencies / Verify Latest Dependencies (push) Failing after 57s
build and test / wxbox - latest (push) Has been cancelled
fix ci workflow 10
2025-03-04 21:08:54 -05:00

29 lines
No EOL
761 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
- run: curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s - -y
- run: source "$HOME/.cargo/env" && rustup update ${{ matrix.toolchain }} && rustup default ${{ matrix.toolchain }}
- run: source "$HOME/.cargo/env" && cargo build
- run: source "$HOME/.cargo/env" && cargo test
- run: source "$HOME/.cargo/env" && cargo clippy
- run: source "$HOME/.cargo/env" && cargo fmt --check