Skip to content

Commit a982c41

Browse files
authored
Merge pull request #13897 from SORMAS-Foundation/task-update_github_actions
Updated app ci action image
2 parents f047212 + 970a744 commit a982c41

2 files changed

Lines changed: 5 additions & 12 deletions

File tree

.github/workflows/openapi_canary.yml

Lines changed: 4 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,9 @@
22
name: OpenAPI Canary
33

44
on:
5-
workflow_dispatch:
6-
inputs:
7-
reason:
8-
description: 'Reason for manual run'
9-
required: false
10-
default: 'Testing on specific branch'
11-
# Disabled until fixing the issue with the diff tool
12-
# schedule:
5+
schedule:
136
# 2.30 UTC
14-
# - cron: '30 2 * * *'
7+
- cron: '30 2 * * *'
158

169
jobs:
1710
canary:
@@ -31,9 +24,9 @@ jobs:
3124
ref: master
3225
path: base
3326

34-
# --fail-on-incompatible is also possible
27+
# --fail-on-changed is also possible (fails on any change, including backward-compatible)
3528
- name: Run OpenAPI Diff for external journal API
3629
run: |
37-
java -jar /app/openapi-diff.jar --fail-on-changed base/sormas-rest/swagger.yaml \
30+
java -jar /app/openapi-diff.jar --fail-on-incompatible base/sormas-rest/swagger.yaml \
3831
head/sormas-rest/swagger.yaml
3932

.github/workflows/sormas_app_ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ on:
2626
jobs:
2727
test:
2828
name: android app test
29-
runs-on: macos-latest
29+
runs-on: ubuntu-latest
3030
strategy:
3131
matrix:
3232
# Even though we are using macos machines which should be faster thanks to hardware accelerations

0 commit comments

Comments
 (0)