Skip to content

Commit aac9b08

Browse files
committed
Update to Node 24
1 parent 38d3c23 commit aac9b08

File tree

22 files changed

+179
-190
lines changed

22 files changed

+179
-190
lines changed

.github/FUNDING.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
github: [sersoft-gmbh, ffried]

.github/actions/generate-action-code/action.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@ runs:
66
steps:
77
- uses: actions/setup-node@v6
88
with:
9-
node-version: 20
9+
node-version: 24
1010
check-latest: true
11-
cache: 'npm'
11+
cache: npm
1212
- name: Generate action code
1313
shell: bash
1414
run: |

.github/dependabot.yml

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,6 @@ updates:
88
interval: daily
99
time: '07:00'
1010
timezone: Europe/Berlin
11-
assignees:
12-
- ffried
13-
reviewers:
14-
- ffried
1511

1612
- package-ecosystem: github-actions
1713
directory: .github/actions/generate-action-code
@@ -20,10 +16,6 @@ updates:
2016
interval: daily
2117
time: '07:00'
2218
timezone: Europe/Berlin
23-
assignees:
24-
- ffried
25-
reviewers:
26-
- ffried
2719

2820
- package-ecosystem: npm
2921
directory: /
@@ -32,7 +24,3 @@ updates:
3224
interval: daily
3325
time: '07:00'
3426
timezone: Europe/Berlin
35-
assignees:
36-
- ffried
37-
reviewers:
38-
- ffried

.github/workflows/codeql-analysis.yml

Lines changed: 0 additions & 54 deletions
This file was deleted.

.github/workflows/codeql.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: CodeQL
2+
3+
on:
4+
push:
5+
branches: [ main ]
6+
pull_request:
7+
branches: [ main ]
8+
schedule:
9+
- cron: "41 7 * * 2"
10+
11+
permissions:
12+
# required for all workflows
13+
security-events: write
14+
# required to fetch internal or private CodeQL packs
15+
packages: read
16+
# only required for workflows in private repositories
17+
actions: read
18+
contents: read
19+
20+
jobs:
21+
analyze:
22+
uses: sersoft-gmbh/oss-common-actions/.github/workflows/codeql-ts-gh-action.yml@main

.github/workflows/deploy.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@ on:
55
branches: [ main ]
66
paths-ignore: [ 'dist/*.js' ]
77

8+
permissions:
9+
contents: write
10+
811
jobs:
912
deploy-action-code:
1013
name: Deploy Action Code

.github/workflows/enable-auto-merge.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,4 @@ jobs:
1515
run: gh pr merge --auto --rebase "${PR_URL}"
1616
env:
1717
PR_URL: ${{ github.event.pull_request.html_url }}
18-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
18+
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/tag-update.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,16 @@ on:
44
release:
55
types: [ published ]
66

7+
permissions:
8+
contents: write
9+
710
jobs:
811
update-tags:
12+
if: ${{ !github.event.release.prerelease }}
913
name: Update Running Releases
1014
runs-on: ubuntu-latest
11-
if: ${{ github.event.release.prerelease == false }}
1215
steps:
1316
- uses: actions/checkout@v5
14-
- uses: sersoft-gmbh/running-release-tags-action@v3
17+
- uses: sersoft-gmbh/running-release-tags-action@v4
1518
with:
16-
update-full-release: true
1719
github-token: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/tests.yml

Lines changed: 31 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -3,17 +3,21 @@ name: Tests
33
on:
44
push:
55
branches: [ main ]
6-
paths:
6+
paths:
77
- 'dist/*.js'
88
- 'action.yml'
99
- '.github/workflows/tests.yml'
1010
pull_request:
1111
branches: [ main ]
1212

13+
permissions:
14+
contents: read
15+
pull-requests: read
16+
1317
jobs:
1418
test-project:
1519
name: Test Project Build
16-
runs-on: macos-13
20+
runs-on: macos-26
1721
strategy:
1822
matrix:
1923
platform:
@@ -40,7 +44,7 @@ jobs:
4044
steps:
4145
- uses: maxim-lobanov/setup-xcode@v1
4246
with:
43-
xcode-version: ^14.3
47+
xcode-version: ^26.0
4448
- name: Select destination
4549
id: destination
4650
env:
@@ -49,10 +53,10 @@ jobs:
4953
DESTINATION=''
5054
case "${PLATFORM}" in
5155
'macOS') DESTINATION='platform=macOS';;
52-
'iOS') DESTINATION='platform=iOS Simulator,OS=latest,name=iPhone 14 Pro';;
53-
'iPadOS') DESTINATION='platform=iOS Simulator,OS=latest,name=iPad Pro (11-inch) (4th generation)';;
56+
'iOS') DESTINATION='platform=iOS Simulator,OS=latest,name=iPhone 17 Pro';;
57+
'iPadOS') DESTINATION='platform=iOS Simulator,OS=latest,name=iPad 11-inch (M4)';;
5458
'tvOS') DESTINATION='platform=tvOS Simulator,OS=latest,name=Apple TV 4K (3rd generation)';;
55-
'watchOS') DESTINATION='platform=watchOS Simulator,OS=latest,name=Apple Watch Series 8 (45mm)';;
59+
'watchOS') DESTINATION='platform=watchOS Simulator,OS=latest,name=Apple Watch Ultra 3 (49mm)';;
5660
*) echo "::error title=Unknown platform!::Unknown platform: ${PLATFORM}" && exit 1;;
5761
esac
5862
echo "xcode=${DESTINATION}" >> "${GITHUB_OUTPUT}"
@@ -83,7 +87,7 @@ jobs:
8387

8488
test-workspace:
8589
name: Test Workspace Build
86-
runs-on: macos-13
90+
runs-on: macos-26
8791
strategy:
8892
matrix:
8993
platform:
@@ -110,7 +114,7 @@ jobs:
110114
steps:
111115
- uses: maxim-lobanov/setup-xcode@v1
112116
with:
113-
xcode-version: ^14.3
117+
xcode-version: ^26.0
114118
- name: Select destination
115119
id: destination
116120
env:
@@ -119,10 +123,10 @@ jobs:
119123
DESTINATION=''
120124
case "${PLATFORM}" in
121125
'macOS') DESTINATION='platform=macOS';;
122-
'iOS') DESTINATION='platform=iOS Simulator,OS=latest,name=iPhone 14 Pro';;
123-
'iPadOS') DESTINATION='platform=iOS Simulator,OS=latest,name=iPad Pro (11-inch) (4th generation)';;
126+
'iOS') DESTINATION='platform=iOS Simulator,OS=latest,name=iPhone 17 Pro';;
127+
'iPadOS') DESTINATION='platform=iOS Simulator,OS=latest,name=iPad 11-inch (M4)';;
124128
'tvOS') DESTINATION='platform=tvOS Simulator,OS=latest,name=Apple TV 4K (3rd generation)';;
125-
'watchOS') DESTINATION='platform=watchOS Simulator,OS=latest,name=Apple Watch Series 8 (45mm)';;
129+
'watchOS') DESTINATION='platform=watchOS Simulator,OS=latest,name=Apple Watch Ultra 3 (49mm)';;
126130
*) echo "::error title=Unknown platform!::Unknown platform: ${PLATFORM}" && exit 1;;
127131
esac
128132
echo "xcode=${DESTINATION}" >> "${GITHUB_OUTPUT}"
@@ -153,7 +157,7 @@ jobs:
153157

154158
test-package:
155159
name: Test SPM Package Build
156-
runs-on: macos-13
160+
runs-on: macos-26
157161
strategy:
158162
matrix:
159163
platform:
@@ -167,7 +171,7 @@ jobs:
167171
steps:
168172
- uses: maxim-lobanov/setup-xcode@v1
169173
with:
170-
xcode-version: ^14.3
174+
xcode-version: ^26.0
171175
- name: Select destination
172176
id: destination
173177
env:
@@ -176,10 +180,10 @@ jobs:
176180
DESTINATION=''
177181
case "${PLATFORM}" in
178182
'macOS') DESTINATION='platform=macOS';;
179-
'iOS') DESTINATION='platform=iOS Simulator,OS=latest,name=iPhone 14 Pro';;
180-
'iPadOS') DESTINATION='platform=iOS Simulator,OS=latest,name=iPad Pro (11-inch) (4th generation)';;
183+
'iOS') DESTINATION='platform=iOS Simulator,OS=latest,name=iPhone 17 Pro';;
184+
'iPadOS') DESTINATION='platform=iOS Simulator,OS=latest,name=iPad 11-inch (M4)';;
181185
'tvOS') DESTINATION='platform=tvOS Simulator,OS=latest,name=Apple TV 4K (3rd generation)';;
182-
'watchOS') DESTINATION='platform=watchOS Simulator,OS=latest,name=Apple Watch Series 8 (45mm)';;
186+
'watchOS') DESTINATION='platform=watchOS Simulator,OS=latest,name=Apple Watch Ultra 3 (49mm)';;
183187
*) echo "::error title=Unknown platform!::Unknown platform: ${PLATFORM}" && exit 1;;
184188
esac
185189
echo "xcode=${DESTINATION}" >> "${GITHUB_OUTPUT}"
@@ -235,11 +239,11 @@ jobs:
235239
- if: ${{ github.event_name == 'pull_request' && env.RUNNER_DEBUG != 1 }}
236240
run: echo 'RUNNER_DEBUG=1' >> "${GITHUB_ENV}"
237241
- if: ${{ github.event_name == 'pull_request' }}
238-
run: test "${RUNNER_DEBUG}" == "1"
242+
run: test "${RUNNER_DEBUG}" = "1"
239243
- if: ${{ github.event_name == 'push' }}
240244
env:
241245
DEBUG_ENABLED: ${{ secrets.ACTIONS_STEP_DEBUG }}
242-
run: test "${DEBUG_ENABLED}" == 'true'
246+
run: test "${DEBUG_ENABLED}" = 'true'
243247
- uses: actions/checkout@v5
244248
- name: Generate action code
245249
if: ${{ github.event_name == 'pull_request' }}
@@ -324,7 +328,7 @@ jobs:
324328
LOCAL_UNPROCESSED_COMMAND: ${{ steps.xcodebuild-local.outputs.unprocessed-command }}
325329
LOCAL_EXECUTED_COMMAND: ${{ steps.xcodebuild-local.outputs.executed-command }}
326330
run: |
327-
if [ "${EVENT_NAME}" == 'push' ]; then
331+
if [ "${EVENT_NAME}" = 'push' ]; then
328332
echo "unprocessed-command=${BRANCH_UNPROCESSED_COMMAND}" >> "${GITHUB_OUTPUT}"
329333
echo "executed-command=${BRANCH_EXECUTED_COMMAND}" >> "${GITHUB_OUTPUT}"
330334
else
@@ -406,11 +410,11 @@ jobs:
406410
- if: ${{ github.event_name == 'pull_request' && env.RUNNER_DEBUG != 1 }}
407411
run: echo 'RUNNER_DEBUG=1' >> "${GITHUB_ENV}"
408412
- if: ${{ github.event_name == 'pull_request' }}
409-
run: test "${RUNNER_DEBUG}" == "1"
413+
run: test "${RUNNER_DEBUG}" = "1"
410414
- if: ${{ github.event_name == 'push' }}
411415
env:
412416
DEBUG_ENABLED: ${{ secrets.ACTIONS_STEP_DEBUG }}
413-
run: test "${DEBUG_ENABLED}" == 'true'
417+
run: test "${DEBUG_ENABLED}" = 'true'
414418
- uses: actions/checkout@v5
415419
- name: Generate action code
416420
if: ${{ github.event_name == 'pull_request' }}
@@ -580,11 +584,11 @@ jobs:
580584
- if: ${{ github.event_name == 'pull_request' && env.RUNNER_DEBUG != 1 }}
581585
run: echo 'RUNNER_DEBUG=1' >> "${GITHUB_ENV}"
582586
- if: ${{ github.event_name == 'pull_request' }}
583-
run: test "${RUNNER_DEBUG}" == "1"
587+
run: test "${RUNNER_DEBUG}" = "1"
584588
- if: ${{ github.event_name == 'push' }}
585589
env:
586590
DEBUG_ENABLED: ${{ secrets.ACTIONS_STEP_DEBUG }}
587-
run: test "${DEBUG_ENABLED}" == 'true'
591+
run: test "${DEBUG_ENABLED}" = 'true'
588592
- uses: actions/checkout@v5
589593
- name: Generate action code
590594
if: ${{ github.event_name == 'pull_request' }}
@@ -671,7 +675,7 @@ jobs:
671675
LOCAL_UNPROCESSED_COMMAND: ${{ steps.xcodebuild-local.outputs.unprocessed-command }}
672676
LOCAL_EXECUTED_COMMAND: ${{ steps.xcodebuild-local.outputs.executed-command }}
673677
run: |
674-
if [ "${EVENT_NAME}" == 'push' ]; then
678+
if [ "${EVENT_NAME}" = 'push' ]; then
675679
echo "unprocessed-command=${BRANCH_UNPROCESSED_COMMAND}" >> "${GITHUB_OUTPUT}"
676680
echo "executed-command=${BRANCH_EXECUTED_COMMAND}" >> "${GITHUB_OUTPUT}"
677681
else
@@ -735,11 +739,11 @@ jobs:
735739
- if: ${{ github.event_name == 'pull_request' && env.RUNNER_DEBUG != 1 }}
736740
run: echo 'RUNNER_DEBUG=1' >> "${GITHUB_ENV}"
737741
- if: ${{ github.event_name == 'pull_request' }}
738-
run: test "${RUNNER_DEBUG}" == "1"
742+
run: test "${RUNNER_DEBUG}" = "1"
739743
- if: ${{ github.event_name == 'push' }}
740744
env:
741745
DEBUG_ENABLED: ${{ secrets.ACTIONS_STEP_DEBUG }}
742-
run: test "${DEBUG_ENABLED}" == 'true'
746+
run: test "${DEBUG_ENABLED}" = 'true'
743747
- uses: actions/checkout@v5
744748
- name: Generate action code
745749
if: ${{ github.event_name == 'pull_request' }}
@@ -766,7 +770,7 @@ jobs:
766770
LOCAL_UNPROCESSED_COMMAND: ${{ steps.xcodebuild-local.outputs.unprocessed-command }}
767771
LOCAL_EXECUTED_COMMAND: ${{ steps.xcodebuild-local.outputs.executed-command }}
768772
run: |
769-
if [ "${EVENT_NAME}" == 'push' ]; then
773+
if [ "${EVENT_NAME}" = 'push' ]; then
770774
echo "unprocessed-command=${BRANCH_UNPROCESSED_COMMAND}" >> "${GITHUB_OUTPUT}"
771775
echo "executed-command=${BRANCH_EXECUTED_COMMAND}" >> "${GITHUB_OUTPUT}"
772776
else

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ The command that was executed by this action. This will also be printed to the a
3333
**Note:** If you have multiple products in your package, Xcode will auto-generate a `my-tool-Package` scheme, where `my-tool` is the name of your package. If you only have one product, or wish to only build a specific product, you can use the product name as scheme directly.
3434

3535
```yaml
36-
uses: sersoft-gmbh/xcodebuild-action@v3
36+
uses: sersoft-gmbh/xcodebuild-action@v4
3737
with:
3838
spm-package: './'
3939
scheme: my-tool-Package
@@ -48,7 +48,7 @@ with:
4848
This will run tests configured with the `MyApp` scheme inside a `MyApp` Xcode project.
4949

5050
```yaml
51-
uses: sersoft-gmbh/xcodebuild-action@v3
51+
uses: sersoft-gmbh/xcodebuild-action@v4
5252
with:
5353
project: MyApp.xcodeproj
5454
scheme: MyApp
@@ -65,7 +65,7 @@ This will run tests configured with the `MyApp` scheme inside a `MyApp` Xcode wo
6565
**Note for CocoaPods:** Restoring the CocoaPods dependencies has to be done before running this action.
6666

6767
```yaml
68-
uses: sersoft-gmbh/xcodebuild-action@v3
68+
uses: sersoft-gmbh/xcodebuild-action@v4
6969
with:
7070
workspace: MyApp.xcworkspace
7171
scheme: MyApp

0 commit comments

Comments
 (0)