Skip to content

Update GitHub Actions to use latest checkout and setup actions #335

Update GitHub Actions to use latest checkout and setup actions

Update GitHub Actions to use latest checkout and setup actions #335

Workflow file for this run

name: verify clients
on:
pull_request:
branches:
- master
- develop
- stable
jobs:
verify-python:
runs-on: ubuntu-latest
steps:
- name: Checkout Specification Repo
uses: actions/checkout@v6
with:
path: 'FaceSDK-web-openapi'
- name: Checkout Python Client Repo
uses: actions/checkout@v6
with:
repository: 'regulaforensics/FaceSDK-web-python-client'
token: ${{ secrets.REGULA_GITHUB_PUSH_TOKEN }}
path: 'python-client'
- name: Verify update Python client
working-directory: python-client
run: |
./update-models.sh strict
./setup.sh
verify-csharp:
runs-on: ubuntu-latest
steps:
- name: Checkout Specification Repo
uses: actions/checkout@v6
with:
path: 'FaceSDK-web-openapi'
- name: Checkout CSharp Client Repo
uses: actions/checkout@v6
with:
repository: 'regulaforensics/FaceSDK-web-csharp-client'
token: ${{ secrets.REGULA_GITHUB_PUSH_TOKEN }}
path: 'csharp-client'
- name: Verify update CSharp client
working-directory: csharp-client
run: |
./update-models.sh strict
./setup.sh
verify-js:
runs-on: ubuntu-latest
steps:
- name: Checkout Specification Repo
uses: actions/checkout@v6
with:
path: 'FaceSDK-web-openapi'
- name: Checkout JS Client Repo
uses: actions/checkout@v6
with:
repository: 'regulaforensics/FaceSDK-web-js-client'
token: ${{ secrets.REGULA_GITHUB_PUSH_TOKEN }}
path: 'js-client'
- name: Verify update JS client
working-directory: js-client
run: |
./update-models.sh
./setup.sh
verify-java:
runs-on: ubuntu-latest
steps:
- name: Specify Java Version
uses: actions/setup-java@v5
with:
distribution: 'zulu'
java-version: 11
java-package: jdk
- name: Checkout Specification Repo
uses: actions/checkout@v6
with:
path: 'FaceSDK-web-openapi'
- name: Checkout Java Client Repo
uses: actions/checkout@v6
with:
repository: 'regulaforensics/FaceSDK-web-java-client'
token: ${{ secrets.REGULA_GITHUB_PUSH_TOKEN }}
path: 'java-client'
- name: Verify update Java client
working-directory: java-client
run: |
./update-models.sh strict
./gradlew clean :example:run