mirror of
https://github.com/stoatchat/stoatchat.git
synced 2026-07-14 13:36:59 +00:00
25 lines
408 B
YAML
25 lines
408 B
YAML
name: Rust build and test
|
|
|
|
on:
|
|
push:
|
|
branches: [ unit-tests ]
|
|
pull_request:
|
|
branches: [ unit-tests ]
|
|
|
|
env:
|
|
CARGO_TERM_COLOR: always
|
|
|
|
jobs:
|
|
build:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- name: Build
|
|
run: cargo build --verbose
|
|
- name: Run tests
|
|
run: cargo test --verbose
|
|
- name: Release Build
|
|
run: cargo build --release --verbose
|