summaryrefslogtreecommitdiffstats
path: root/third_party/rust/jsparagus/.github/workflows/rust.yml
blob: 3ecc7db6490cfdaf879c88ecdcc4cd3b42538d08 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
name: Rust

on:
  pull_request:
    types: [opened, synchronize, reopened]
  push:
      branches:
      - master

jobs:
  build:

    runs-on: ubuntu-latest

    steps:
    - uses: actions/checkout@v1
    - name: Setup Python
      uses: actions/setup-python@v1
      with:
        python-version: "3.7"
    - name: Initialize repository
      run: make init
    - name: Build & Test
      run: RUSTFLAGS="-D warnings" make check