Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 25 additions & 0 deletions .github/workflows/builds.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Build GTMAppAuth for Valid Architectures

Check warning on line 1 in .github/workflows/builds.yml

View workflow job for this annotation

GitHub Actions / zizmor-output

excessive-permissions

builds.yml:1: overly broad permissions: default permissions used due to no permissions: block

on:
schedule:
Expand All @@ -6,7 +6,7 @@
workflow_dispatch:

jobs:
cron:

Check warning on line 9 in .github/workflows/builds.yml

View workflow job for this annotation

GitHub Actions / zizmor-output

excessive-permissions

builds.yml:9: overly broad permissions: default permissions used due to no permissions: block
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
Expand All @@ -14,7 +14,7 @@
os: [macos-latest]

steps:
- uses: actions/checkout@v3

Check failure on line 17 in .github/workflows/builds.yml

View workflow job for this annotation

GitHub Actions / zizmor-output

zizmor/unpinned-uses

unpinned action reference: action is not pinned to a hash (required by blanket policy)

Check failure on line 17 in .github/workflows/builds.yml

View workflow job for this annotation

GitHub Actions / zizmor-output

unpinned-uses

builds.yml:17: unpinned action reference: action is not pinned to a hash (required by blanket policy)
- name: Archive for iOS
run: |
xcodebuild \
Expand All @@ -39,3 +39,28 @@
archive \
-scheme GTMAppAuth \
-destination "generic/platform=tvOS"

xcode-27-preview-archive:

Check warning on line 43 in .github/workflows/builds.yml

View workflow job for this annotation

GitHub Actions / zizmor-output

excessive-permissions

builds.yml:43: overly broad permissions: default permissions used due to no permissions: block
# Archive every supported platform against the Xcode 27 preview image. The
# image is preview, so this job does not block merges.
# https://github.com/actions/runner-images/issues/14404
runs-on: xcode-27
continue-on-error: true
strategy:
fail-fast: false
matrix:
destination: [
'generic/platform=iOS',
'platform=OS X',
'generic/platform=watchOS',
'generic/platform=tvOS'
]

steps:
- uses: actions/checkout@v3

Check failure on line 60 in .github/workflows/builds.yml

View workflow job for this annotation

GitHub Actions / zizmor-output

zizmor/unpinned-uses

unpinned action reference: action is not pinned to a hash (required by blanket policy)

Check failure on line 60 in .github/workflows/builds.yml

View workflow job for this annotation

GitHub Actions / zizmor-output

unpinned-uses

builds.yml:60: unpinned action reference: action is not pinned to a hash (required by blanket policy)
- name: Archive
run: |
xcodebuild \
archive \
-scheme GTMAppAuth \
-destination "${{ matrix.destination }}"
Comment on lines +47 to +66
14 changes: 14 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: tests

Check warning on line 1 in .github/workflows/tests.yml

View workflow job for this annotation

GitHub Actions / zizmor-output

excessive-permissions

tests.yml:1: overly broad permissions: default permissions used due to no permissions: block

on:
push:
Expand All @@ -11,10 +11,10 @@

jobs:

pod-lib-lint:

Check warning on line 14 in .github/workflows/tests.yml

View workflow job for this annotation

GitHub Actions / zizmor-output

excessive-permissions

tests.yml:14: overly broad permissions: default permissions used due to no permissions: block
runs-on: macos-latest
steps:
- uses: actions/checkout@v3

Check failure on line 17 in .github/workflows/tests.yml

View workflow job for this annotation

GitHub Actions / zizmor-output

zizmor/unpinned-uses

unpinned action reference: action is not pinned to a hash (required by blanket policy)

Check failure on line 17 in .github/workflows/tests.yml

View workflow job for this annotation

GitHub Actions / zizmor-output

unpinned-uses

tests.yml:17: unpinned action reference: action is not pinned to a hash (required by blanket policy)
- name: Update Bundler
run: bundle update --bundler
- name: Install Ruby gems with Bundler
Expand All @@ -22,11 +22,25 @@
- name: Lint GTMAppAuth.podspec using local source
run: pod lib lint GTMAppAuth.podspec --verbose

spm-build-test:

Check warning on line 25 in .github/workflows/tests.yml

View workflow job for this annotation

GitHub Actions / zizmor-output

excessive-permissions

tests.yml:25: overly broad permissions: default permissions used due to no permissions: block
runs-on: macos-latest
steps:
- uses: actions/checkout@v3

Check failure on line 28 in .github/workflows/tests.yml

View workflow job for this annotation

GitHub Actions / zizmor-output

zizmor/unpinned-uses

unpinned action reference: action is not pinned to a hash (required by blanket policy)

Check failure on line 28 in .github/workflows/tests.yml

View workflow job for this annotation

GitHub Actions / zizmor-output

unpinned-uses

tests.yml:28: unpinned action reference: action is not pinned to a hash (required by blanket policy)
- name: Build package
run: swift build
- name: Run Swift tests
run: swift test

xcode-27-preview-test:

Check warning on line 34 in .github/workflows/tests.yml

View workflow job for this annotation

GitHub Actions / zizmor-output

excessive-permissions

tests.yml:34: overly broad permissions: default permissions used due to no permissions: block
# Xcode 27 is currently only available on the preview `xcode-27` image, on
# which Xcode 27 beta is the only (thus, default) Xcode. The image is
# preview, so this job does not block merges.
# https://github.com/actions/runner-images/issues/14404
runs-on: xcode-27
continue-on-error: true
steps:
- uses: actions/checkout@v3

Check failure on line 42 in .github/workflows/tests.yml

View workflow job for this annotation

GitHub Actions / zizmor-output

zizmor/unpinned-uses

unpinned action reference: action is not pinned to a hash (required by blanket policy)

Check failure on line 42 in .github/workflows/tests.yml

View workflow job for this annotation

GitHub Actions / zizmor-output

unpinned-uses

tests.yml:42: unpinned action reference: action is not pinned to a hash (required by blanket policy)
- name: Build package
run: swift build
- name: Run Swift tests
run: swift test
Comment on lines +39 to +46
Loading