Skip to content

Commit e068a64

Browse files
committed
chore: lock capacitor-swift-pm to 8.0.0
1 parent bbc12ec commit e068a64

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

.github/workflows/test.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,18 @@ on:
99
workflow_call:
1010

1111
jobs:
12+
guard_swiftpm_version:
13+
runs-on: ubuntu-latest
14+
steps:
15+
- name: Check out
16+
uses: actions/checkout@v6
17+
- name: Enforce capacitor-swift-pm version
18+
run: |
19+
set -euo pipefail
20+
if ! grep -Eq 'https://github.com/ionic-team/capacitor-swift-pm\.git"[[:space:]]*,[[:space:]]*from:[[:space:]]*"8\.0\.0"' Package.swift; then
21+
echo "Expected capacitor-swift-pm to be pinned to 8.0.0 in Package.swift"
22+
exit 1
23+
fi
1224
setup:
1325
runs-on: ubuntu-latest
1426
timeout-minutes: 30

0 commit comments

Comments
 (0)