Skip to content

Commit f441756

Browse files
committed
Update to Node 24
1 parent 7b1783e commit f441756

File tree

16 files changed

+95
-118
lines changed

16 files changed

+95
-118
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: 2 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -8,29 +8,19 @@ updates:
88
interval: "daily"
99
time: "07:00"
1010
timezone: "Europe/Berlin"
11-
assignees:
12-
- ffried
13-
reviewers:
14-
- ffried
11+
1512
- package-ecosystem: "github-actions"
1613
directory: ".github/actions/generate-action-code"
1714
open-pull-requests-limit: 10
1815
schedule:
1916
interval: "daily"
2017
time: "07:00"
2118
timezone: "Europe/Berlin"
22-
assignees:
23-
- ffried
24-
reviewers:
25-
- ffried
19+
2620
- package-ecosystem: "npm"
2721
directory: "/"
2822
open-pull-requests-limit: 10
2923
schedule:
3024
interval: "daily"
3125
time: "07:00"
3226
timezone: "Europe/Berlin"
33-
assignees:
34-
- ffried
35-
reviewers:
36-
- 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: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,19 +9,23 @@ on:
99
pull_request:
1010
branches: [ main ]
1111

12+
permissions:
13+
contents: read
14+
pull-requests: read
15+
1216
jobs:
1317
test-defaults:
1418
name: Test Default Inputs
1519
strategy:
1620
matrix:
17-
os: [ macos-14, ubuntu-latest ]
21+
os: [ macos-26, ubuntu-latest ]
1822
runs-on: ${{ matrix.os }}
19-
container: ${{ matrix.os == 'ubuntu-latest' && 'swift:5.9' || '' }}
23+
container: ${{ matrix.os == 'ubuntu-latest' && 'swift:6.2' || '' }}
2024
steps:
2125
- uses: maxim-lobanov/setup-xcode@v1
2226
if: ${{ runner.os == 'macOS' }}
2327
with:
24-
xcode-version: ^15.0
28+
xcode-version: ^26.0
2529
- uses: actions/checkout@v5
2630
- name: Generate action code
2731
if: ${{ github.event_name == 'pull_request' }}
@@ -51,7 +55,7 @@ jobs:
5155
name: Test Customized Inputs
5256
strategy:
5357
matrix:
54-
os: [ macos-14, ubuntu-latest ]
58+
os: [ macos-26, ubuntu-latest ]
5559
cov-format: [ 'txt', 'lcov' ]
5660
env:
5761
INPUT_DERIVED_DATA: .derived-data
@@ -61,12 +65,12 @@ jobs:
6165
INPUT_TARGET_NAME_FILTER: TestProject(1|Package).*
6266
INPUT_OUTPUT_FOLDER: .swiftcov-test
6367
runs-on: ${{ matrix.os }}
64-
container: ${{ matrix.os == 'ubuntu-latest' && 'swift:5.9' || '' }}
68+
container: ${{ matrix.os == 'ubuntu-latest' && 'swift:6.2' || '' }}
6569
steps:
6670
- uses: maxim-lobanov/setup-xcode@v1
6771
if: ${{ runner.os == 'macOS' }}
6872
with:
69-
xcode-version: ^15.0
73+
xcode-version: ^26.0
7074
- uses: actions/checkout@v5
7175
- name: Generate action code
7276
if: ${{ github.event_name == 'pull_request' }}

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
[![Tests](https://github.com/sersoft-gmbh/swift-coverage-action/actions/workflows/tests.yml/badge.svg)](https://github.com/sersoft-gmbh/swift-coverage-action/actions/workflows/tests.yml)
44

5-
This action converts code coverage files from `swift test` or `xcodebuild` runs for processing with e.g. codecov.
5+
This action converts code coverage files from `swift test` or `xcodebuild` runs for processing with for example codecov.
66
Note that this action does not run any test. Use `swift test`, `xcodebuild` or [xcodebuild-action](https://github.com/sersoft-gmbh/xcodebuild-action) for that.
77

88
## Inputs
@@ -49,7 +49,7 @@ Default: `'false'`
4949

5050
### `files`
5151

52-
The JSON encoded array of (absolute) file paths that were written. They are all contained inside the directory specified in the `output` input.
52+
The (JSON encoded) array of (absolute) file paths that were written. They are all contained inside the directory specified in the `output` input.
5353

5454
## Example Usage
5555

@@ -60,9 +60,9 @@ uses: sersoft-gmbh/swift-coverage-action@v4
6060
6161
### Codecov Action (v2 or later)
6262
63-
To use this action together with [codecov/codecov-action](https://github.com/codecov/codecov-action), you need to convert the output to a comma separated string:
63+
To use this action together with [codecov/codecov-action](https://github.com/codecov/codecov-action), you need to convert the output to a comma-separated string:
6464
```yaml
65-
- uses: sersoft-gmbh/swift-coverage-action@v4
65+
- uses: sersoft-gmbh/swift-coverage-action@v5
6666
id: coverage-files
6767
- uses: codecov/codecov-action@v3
6868
with:

0 commit comments

Comments
 (0)