aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/rust.yml
blob: 8ebf4277674d0bff232218a6eb62b2093918d2c5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
name: Build and test inv_sig_helper

on:
  push:
    branches: [ "master" ]
    paths-ignore:
      - 'LICENSE'
      - 'README.md'
      - 'docker-compose.yml'
  pull_request:
    branches: [ "master" ]
  schedule:
    # every 2 hours
    - cron: "0 */2 * * *"
  workflow_dispatch:  # Allow manual triggering of the workflow
  

env:
  CARGO_TERM_COLOR: always

jobs:
  build:

    runs-on: ubuntu-latest

    steps:
    - uses: actions/checkout@v4
    - name: Build
      run: cargo build --verbose
    - name: Test server
      run: target/debug/inv_sig_helper_rust --test