Skip to content

feat: add interface management daemon service #8

feat: add interface management daemon service

feat: add interface management daemon service #8

Workflow file for this run

name: Test backend
on:
push:
branches:
- main
- dev
paths-ignore:
- '*.md'
- 'LICENSE'
pull_request:
branches:
- main
- dev
paths-ignore:
- '*.md'
- 'LICENSE'
env:
CARGO_TERM_COLOR: always
jobs:
test:
runs-on: [self-hosted, Linux]
container: rust:1.73
defaults:
run:
working-directory: ./src-tauri
steps:
- name: Checkout
uses: actions/checkout@v3
with:
submodules: recursive
- name: Debug
run: echo ${{ github.ref_name }}
- name: Cache
uses: Swatinem/rust-cache@v2
- name: Install protoc
run: apt-get update && apt-get -y install protobuf-compiler
- name: Check format
run: |
rustup component add rustfmt
cargo fmt -- --check
- name: Run tests
run: cargo test --locked --no-fail-fast