From 93bed0dd4535a49538d6d38ffcb5833b61b1ee64 Mon Sep 17 00:00:00 2001 From: Jan Cristina Date: Fri, 20 Sep 2024 12:39:49 +0200 Subject: [PATCH] move-panama-backend - ci for checking diplomat incompatibility --- .github/workflows/check-diplomat.yml | 22 ++++++++++++++++++++++ .github/workflows/ci.yml | 11 +++++++++++ 2 files changed, 33 insertions(+) create mode 100644 .github/workflows/check-diplomat.yml diff --git a/.github/workflows/check-diplomat.yml b/.github/workflows/check-diplomat.yml new file mode 100644 index 0000000..28c1490 --- /dev/null +++ b/.github/workflows/check-diplomat.yml @@ -0,0 +1,22 @@ + +name: Check Diplomat + +on: + schedule: + - cron: "0 0 * * 5" + branches: [ main ] + +env: + CARGO_TERM_COLOR: always + +jobs: + check-latest-diplomat: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + + - name: Check rustfmt + run: cargo add -p diplomat-java --git https://github.com/rust-diplomat/diplomat.git diplomat-tool diplomat-runtime diplomat_core diplomat + + - name: Check clippy + run: cargo build diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index bbac678..98da33c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -82,3 +82,14 @@ jobs: run: echo "/opt/jextract-22/bin" >> $GITHUB_PATH - name: Run generated java run: cargo make gen-feature + + check-latest-diplomat: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + + - name: Check rustfmt + run: cargo add -p diplomat-java --git https://github.com/rust-diplomat/diplomat.git diplomat-tool diplomat-runtime diplomat_core diplomat + + - name: Check clippy + run: cargo build