Martin Berg Alstad df58d7d122
All checks were successful
Build & test / build (push) Successful in 2m28s
Updated workflow
2024-12-17 17:19:55 +00:00

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