Skip to content

Commit c90457b

Browse files
committed
Update to Node 24
1 parent 8e9d4df commit c90457b

File tree

15 files changed

+74
-107
lines changed

15 files changed

+74
-107
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: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,20 +9,24 @@ on:
99
pull_request:
1010
branches: [ main ]
1111

12+
permissions:
13+
contents: read
14+
pull-requests: read
15+
1216
jobs:
1317
test:
1418
name: Test Action
1519
strategy:
1620
matrix:
17-
os: [ macos-15, ubuntu-latest ]
21+
os: [ macos-26, ubuntu-latest ]
1822
runs-on: ${{ matrix.os }}
1923
container:
20-
image: ${{ matrix.os == 'ubuntu-latest' && 'swift:6.0' || '' }}
24+
image: ${{ matrix.os == 'ubuntu-latest' && 'swift:6.2' || '' }}
2125
steps:
2226
- uses: maxim-lobanov/setup-xcode@v1
2327
if: ${{ runner.os == 'macOS' }}
2428
with:
25-
xcode-version: ^16.1
29+
xcode-version: ^26
2630
- uses: actions/checkout@v5
2731
- name: Generate action code
2832
if: ${{ github.event_name == 'pull_request' }}

README.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@ This action reads the current Swift version.
77
_Note_:
88
This action does not install or change the current Swift version. It just reads it.
99
To change the Swift version on macOS, use `xcode-select` to select the corresponding Xcode version (or use an action like [maxim-lobanov/setup-xcode](https://github.com/maxim-lobanov/setup-xcode)).
10-
To install Swift on Linux, you can use our [swifty-linux-action](https://github.com/sersoft-gmbh/swifty-linux-action) action.
10+
To install Swift on Linux, you can either use [containers](https://hub.docker.com/_/swift), or use [Swiftly](https://www.swift.org/swiftly/documentation/swiftlydocs/).
11+
There is also a [GitHub action for Swiftly](https://github.com/vapor/swiftly-action).
1112

1213
## Inputs
1314

@@ -17,11 +18,11 @@ _None_
1718

1819
### `version`
1920

20-
The version of Swift that's currently active (e.g. `5.8.1`).
21+
The version of Swift that's currently active (e.g. `6.2.1`).
2122

2223
## Example Usage
2324

2425
Use the following snippet to read the current swift version:
2526
```yaml
26-
uses: sersoft-gmbh/swift-version-action@v3
27+
uses: sersoft-gmbh/swift-version-action@v4
2728
```

0 commit comments

Comments
 (0)