All checks were successful
Build & test / build (push) Successful in 2m28s
24 lines
543 B
YAML
24 lines
543 B
YAML
name: Build & test
|
|
|
|
on:
|
|
push:
|
|
pull_request:
|
|
|
|
env:
|
|
CARGO_TERM_COLOR: always
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- name: Set up Rust toolchain
|
|
# https://github.com/actions-rust-lang/setup-rust-toolchain
|
|
uses: actions-rust-lang/setup-rust-toolchain@v1
|
|
with:
|
|
rustflags: "" # Override the default error on warnings
|
|
cache: false
|
|
- name: Build
|
|
run: cargo build --verbose
|
|
- name: Run tests
|
|
run: cargo test --verbose |