mirror of
https://github.com/TECHNOFAB11/pay-respects.git
synced 2025-12-12 06:20:09 +01:00
29 lines
448 B
YAML
29 lines
448 B
YAML
name: Test
|
|
|
|
on:
|
|
push:
|
|
branches: [ "main" ]
|
|
pull_request:
|
|
branches: [ "main" ]
|
|
|
|
env:
|
|
CARGO_TERM_COLOR: always
|
|
CARGO_INCREMENTAL: 0
|
|
|
|
jobs:
|
|
build-and-test:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
|
|
- name: Caching
|
|
uses: Swatinem/rust-cache@v2
|
|
with:
|
|
key: build-and-test
|
|
|
|
- name: Build
|
|
run: cargo build --verbose
|
|
|
|
- name: Tests
|
|
run: make test
|
|
|