Skip to content

Commit 1980776

Browse files
authored
chore: fix code scanning alerts (#211)
* chore: fix code scanning alerts * update destination simulator for build and unit tests
1 parent c1b77dd commit 1980776

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

.github/workflows/build_liveness.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
uses: ./.github/composite_actions/run_xcodebuild
3131
with:
3232
scheme: FaceLiveness
33-
destination: 'platform=iOS Simulator,name=iPhone 15,OS=latest'
33+
destination: 'platform=iOS Simulator,name=iPhone 16 Pro Max,OS=18.5'
3434

3535
confirm-pass:
3636
runs-on: ubuntu-latest

.github/workflows/liveness_unit_tests.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,9 @@ on:
1212
pull_request:
1313
branches: [ main ]
1414

15+
permissions:
16+
contents: read
17+
1518
jobs:
1619
test-iOS:
1720
name: Liveness iOS Unit Tests
@@ -27,5 +30,5 @@ jobs:
2730
with:
2831
scheme: FaceLiveness
2932
token: ${{ secrets.CODECOV_TOKEN }}
30-
destination: 'platform=iOS Simulator,name=iPhone 15,OS=latest'
33+
destination: 'platform=iOS Simulator,name=iPhone 16 Pro Max,OS=18.5'
3134
generate_coverage: true

0 commit comments

Comments
 (0)