Skip to content

Commit

Permalink
move-panama-backend - ci for checking diplomat incompatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
jcrist1 committed Sep 20, 2024
1 parent 9332c83 commit 93bed0d
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/check-diplomat.yml
Original file line number Diff line number Diff line change
@@ -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
11 changes: 11 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 93bed0d

Please sign in to comment.