Skip to content

Commit f19a858

Browse files
authored
Merge branch 'main' into make-parser-public
2 parents 533f709 + c4e2d3c commit f19a858

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

58 files changed

+2116
-1819
lines changed

.github/renovate.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
{
22
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
33
"extends": [
4-
"github>cucumber/renovate-config"
4+
"github>cucumber/renovate-config",
5+
":enablePreCommit"
56
]
67
}

.github/workflows/release-github.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
permissions:
1313
contents: write
1414
steps:
15-
- uses: actions/checkout@v4
15+
- uses: actions/checkout@v5
1616
- uses: cucumber/action-create-github-release@v1.1.1
1717
with:
1818
github-token: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/release-mvn.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,16 +10,16 @@ jobs:
1010
runs-on: ubuntu-latest
1111
environment: Release
1212
steps:
13-
- uses: actions/checkout@v4
14-
- uses: actions/setup-java@v4
13+
- uses: actions/checkout@v5
14+
- uses: actions/setup-java@v5
1515
with:
1616
distribution: 'temurin'
17-
java-version: '11'
17+
java-version: '17'
1818
cache: 'maven'
1919
- uses: cucumber/action-publish-mvn@v3.0.0
2020
with:
2121
gpg-private-key: ${{ secrets.GPG_PRIVATE_KEY }}
2222
gpg-passphrase: ${{ secrets.GPG_PASSPHRASE }}
23-
nexus-username: cukebot
23+
nexus-username: ${{ secrets.SONATYPE_USERNAME }}
2424
nexus-password: ${{ secrets.SONATYPE_PASSWORD }}
2525
working-directory: java

.github/workflows/release-npm.yml

Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,21 +4,24 @@ on:
44
push:
55
branches: [release/*]
66

7+
permissions:
8+
id-token: write
9+
contents: read
10+
711
jobs:
812
publish-npm:
913
name: Publish NPM module
1014
runs-on: ubuntu-latest
1115
environment: Release
1216
steps:
13-
- uses: actions/checkout@v4
14-
- uses: actions/setup-node@v4
17+
- uses: actions/checkout@v5
18+
- uses: actions/setup-node@v6
1519
with:
16-
node-version: '22.x'
20+
node-version: '24.x'
1721
cache: 'npm'
1822
cache-dependency-path: javascript/package-lock.json
19-
- run: npm install-test
23+
registry-url: 'https://registry.npmjs.org'
24+
- run: npm install-ci-test
25+
working-directory: javascript
26+
- run: npm publish
2027
working-directory: javascript
21-
- uses: cucumber/action-publish-npm@v1.1.1
22-
with:
23-
npm-token: ${{ secrets.NPM_TOKEN }}
24-
working-directory: javascript

.github/workflows/release-nuget.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,11 @@ jobs:
1111
runs-on: ubuntu-latest
1212
environment: Release
1313
steps:
14-
- uses: actions/checkout@v4
14+
- uses: actions/checkout@v5
1515
- name: Setup .NET
16-
uses: actions/setup-dotnet@v4
16+
uses: actions/setup-dotnet@v5
1717
with:
18-
dotnet-version: 6.0.x
18+
dotnet-version: 8.0.x
1919
- uses: cucumber/action-publish-nuget@v1.0.0
2020
with:
2121
nuget-api-key: ${{ secrets.NUGET_API_KEY }}

.github/workflows/release-pypi.yaml

Lines changed: 13 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@ name: Release Python
22

33
on:
44
push:
5-
branches: [ release/* ]
5+
branches: [release/*]
66

77
jobs:
8-
release:
9-
name: Release
8+
publish-pypi:
9+
name: Publish PyPI Package
1010
runs-on: ubuntu-latest
1111
environment: Release
1212
permissions:
@@ -15,23 +15,17 @@ jobs:
1515
run:
1616
working-directory: python
1717
steps:
18-
- name: Checkout code
19-
uses: actions/checkout@v4
20-
- name: Set up Python 3.10
21-
uses: actions/setup-python@v5
22-
with:
23-
python-version: "3.13"
18+
- uses: actions/checkout@v5
2419

25-
- name: Show Python version
26-
run: python --version
20+
- name: Install uv and set the python version
21+
uses: astral-sh/setup-uv@v7
22+
with:
23+
enable-cache: true
24+
python-version: "3.14"
25+
version: "0.9.7"
2726

2827
- name: Build package
29-
run: |
30-
python -m pip install build twine
31-
python -m build
32-
twine check --strict dist/*
28+
run: uv build
3329

34-
- name: Publish package distributions to PyPI
35-
uses: pypa/gh-action-pypi-publish@release/v1
36-
with:
37-
packages-dir: python/dist
30+
- name: Publish package
31+
run: uv publish

.github/workflows/release-rubygem.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,10 @@ jobs:
1010
runs-on: ubuntu-latest
1111
environment: Release
1212
steps:
13-
- uses: actions/checkout@v4
13+
- uses: actions/checkout@v5
1414
- uses: ruby/setup-ruby@v1
1515
with:
16-
ruby-version: '3.3'
16+
ruby-version: '3.4.7'
1717
bundler-cache: true
1818
- uses: cucumber/action-publish-rubygem@v1.0.0
1919
with:

.github/workflows/stryker-javascript.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ jobs:
1212
stryker:
1313
runs-on: ubuntu-latest
1414
steps:
15-
- uses: actions/checkout@v4
16-
- uses: actions/setup-node@v4
15+
- uses: actions/checkout@v5
16+
- uses: actions/setup-node@v6
1717
with:
1818
node-version: '22'
1919
cache: 'npm'

.github/workflows/test-dotnet.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,13 @@ jobs:
1414
runs-on: ubuntu-latest
1515

1616
steps:
17-
- uses: actions/checkout@v4
17+
- uses: actions/checkout@v5
1818
- name: Setup .NET
19-
uses: actions/setup-dotnet@v4
19+
uses: actions/setup-dotnet@v5
2020
with:
21-
dotnet-version: 6.0.x
21+
dotnet-version: |
22+
8.0.x
23+
9.0.x
2224
- name: Restore dependencies
2325
run: dotnet restore
2426
working-directory: dotnet

.github/workflows/test-go.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,11 +25,12 @@ jobs:
2525
go: '1.18.x'
2626

2727
steps:
28-
- uses: actions/checkout@v4
28+
- uses: actions/checkout@v5
2929
- name: Set up Go
30-
uses: actions/setup-go@v5
30+
uses: actions/setup-go@v6
3131
with:
3232
go-version: ${{ matrix.go }}
33+
cache-dependency-path: go/go.sum
3334
- name: lint
3435
working-directory: go
3536
run: gofmt -w .

0 commit comments

Comments
 (0)