30 lines
467 B
YAML
Raw Normal View History

2023-06-03 18:15:57 +03:00
name: Rust
on:
push:
branches:
- main
pull_request:
branches:
- main
env:
CARGO_TERM_COLOR: always
jobs:
build:
2023-06-03 18:18:40 +03:00
strategy:
matrix:
os:
- ubuntu-latest
- macos-latest
- windows-latest
2023-06-03 18:15:57 +03:00
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Build
2023-06-03 18:18:40 +03:00
run: cargo build --verbose --all-features
2023-06-03 18:15:57 +03:00
- name: Run tests
2023-06-03 18:18:40 +03:00
run: cargo test --verbose --all-features