From 8c9b0d88f404c8ae03585f2a5c1b193bfae70a09 Mon Sep 17 00:00:00 2001 From: Kieran Ryan Date: Thu, 9 Jan 2025 21:21:45 +0000 Subject: [PATCH] chore(deps): update dependency berp to v1.5.0 - Reinstates `ubuntu-latest` for codegen workflow - Contributes to resolving cucumber/gherkin#349 - Bump .NET to 8.x in codegen workflow and Dockerfile - Match workflow and local code generation --- .github/workflows/test-codegen.yml | 7 +++---- Dockerfile | 4 ++-- 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/.github/workflows/test-codegen.yml b/.github/workflows/test-codegen.yml index c5e1098be..7d2657da5 100644 --- a/.github/workflows/test-codegen.yml +++ b/.github/workflows/test-codegen.yml @@ -12,19 +12,18 @@ on: jobs: test-codegen: - # Failing on `ubuntu-24.04` (https://github.com/cucumber/gherkin/issues/349) - runs-on: ubuntu-22.04 + runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - uses: actions/setup-dotnet@v4 with: - dotnet-version: '5.0.x' + dotnet-version: '8.x' - name: install berp run: | - dotnet tool update Berp --version 1.3.0 --tool-path ~/bin + dotnet tool update Berp --version 1.5.0 --tool-path ~/bin echo "~/bin" >> $GITHUB_PATH - name: generate code for all languages diff --git a/Dockerfile b/Dockerfile index 668f7b6f6..716e94ead 100644 --- a/Dockerfile +++ b/Dockerfile @@ -3,7 +3,7 @@ # # See CONTRIBUTING.md # -FROM mcr.microsoft.com/dotnet/sdk:7.0 +FROM mcr.microsoft.com/dotnet/sdk:8.0 ENV DEBIAN_FRONTEND=noninteractive @@ -19,7 +19,7 @@ WORKDIR /app RUN dotnet --list-sdks # Install Berp (dotnet tool installs are user-global; not system global) -RUN dotnet tool install --global Berp --version 1.4.0 \ +RUN dotnet tool install --global Berp --version 1.5.0 \ && echo 'export PATH="$PATH:/root/.dotnet/tools"' >> ~/.bashrc WORKDIR /app