Skip to content

Commit c5e0a51

Browse files
committed
chore:always use dotnet 6 for format checking
1 parent bb399bf commit c5e0a51

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

.github/actions/polymorph_codegen/action.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,8 @@ runs:
9696
shell: bash
9797
run: |
9898
echo "PROJECT_DEPENDENCIES=${{ inputs.update-and-regenerate-mpl != 'true' && 'PROJECT_DEPENDENCIES=' || '' }}" >> $GITHUB_OUTPUT
99+
run: |
100+
dotnet --version
99101
100102
- name: Regenerate Dafny code using smithy-dafny
101103
# Unfortunately Dafny codegen doesn't work on Windows:

.github/workflows/ci_codegen.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,9 @@ jobs:
4848
with:
4949
dotnet-version: ${{ matrix.dotnet-version }}
5050

51+
- name: Create temporary global.json
52+
run: echo '{"sdk":{"rollForward":"latestFeature","version":"6.0.0"}}' > ./global.json
53+
5154
- name: Setup Java 17 for codegen
5255
uses: actions/setup-java@v3
5356
with:

0 commit comments

Comments
 (0)