Skip to content

Commit

Permalink
Add a GitHub Actions workflow to check library API
Browse files Browse the repository at this point in the history
  • Loading branch information
mahozad committed Feb 1, 2024
1 parent 4d76ebc commit b5527ba
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/check-api.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Check library API binary compatibility

on:
push:
branches:
- main

jobs:
check-api-compatibility:
name: Check API compatibility
runs-on: linux-latest
steps:
- name: Checkout the code
uses: actions/checkout@v4
- name: Set up a specific Java version
uses: actions/setup-java@v4
with:
distribution: "temurin" # OR adopt OR microsoft OR...
java-version: "17"
- name: Run the check
run: ./gradlew apiCheck

0 comments on commit b5527ba

Please sign in to comment.