2024-08-14 13:14:30 +02:00
|
|
|
name: Build and test inv_sig_helper
|
2024-07-25 15:32:30 +00:00
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
branches: [ "master" ]
|
2024-08-14 13:14:30 +02:00
|
|
|
paths-ignore:
|
|
|
|
- 'LICENSE'
|
|
|
|
- 'README.md'
|
|
|
|
- 'docker-compose.yml'
|
2024-07-25 15:32:30 +00:00
|
|
|
pull_request:
|
|
|
|
branches: [ "master" ]
|
2024-08-09 15:09:05 +01:00
|
|
|
schedule:
|
|
|
|
# every 2 hours
|
|
|
|
- cron: "0 */2 * * *"
|
2024-08-14 13:14:30 +02:00
|
|
|
workflow_dispatch: # Allow manual triggering of the workflow
|
|
|
|
|
2024-07-25 15:32:30 +00:00
|
|
|
|
|
|
|
env:
|
|
|
|
CARGO_TERM_COLOR: always
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
build:
|
|
|
|
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v4
|
|
|
|
- name: Build
|
|
|
|
run: cargo build --verbose
|
2024-08-09 15:09:05 +01:00
|
|
|
- name: Test server
|
|
|
|
run: target/debug/inv_sig_helper_rust --test
|