From db1527e09e5ffe7662a4a43aaf7667fd739730d4 Mon Sep 17 00:00:00 2001 From: Dr Maxim Orlovsky Date: Tue, 20 Aug 2024 15:59:12 +0200 Subject: [PATCH] ci: add interface check workflow --- .github/workflows/run.yaml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 .github/workflows/run.yaml diff --git a/.github/workflows/run.yaml b/.github/workflows/run.yaml new file mode 100644 index 0000000..dba5abe --- /dev/null +++ b/.github/workflows/run.yaml @@ -0,0 +1,25 @@ +name: Generate interfaces + +on: + push: + branches: + - master + tags: + - 'v[0-9]+\.*' + pull_request: + branches: + - master + - develop + - 'v[0-9]+.[0-9]+' + +env: + CARGO_TERM_COLOR: always + +jobs: + gen-ifaces: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: dtolnay/rust-toolchain@stable + - run: cargo run --features fs + - run: git diff | grep -q . && exit 1