buzzrelay/.github/workflows/build.yml

25 lines
397 B
YAML
Raw Normal View History

2024-03-27 21:46:40 +00:00
name: Rust build
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
env:
CARGO_TERM_COLOR: always
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Dependencies
run: sudo apt-get install -y libsystemd-dev
2024-07-24 02:54:18 +00:00
- uses: actions/checkout@v4
2024-03-27 21:46:40 +00:00
- name: Build
run: cargo build --verbose
- name: Run tests
run: cargo test --verbose