Skip to content

Commit

Permalink
chore(deps): update dependency berp to v1.5.0
Browse files Browse the repository at this point in the history
- Reinstates `ubuntu-latest` for codegen workflow
  - Contributes to resolving #349
- Bump .NET to 8.x in codegen workflow and Dockerfile
  - Match workflow and local code generation
  • Loading branch information
kieran-ryan committed Jan 9, 2025
1 parent e20af19 commit 8c9b0d8
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/test-codegen.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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
Expand Down

0 comments on commit 8c9b0d8

Please sign in to comment.