Skip to content

Commit

Permalink
chore: always use dotnet 6 for format checking. (#1403)
Browse files Browse the repository at this point in the history
* chore:always use dotnet 6 for format checking
  • Loading branch information
ajewellamz authored Sep 30, 2024
1 parent bb399bf commit 2b85507
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/actions/polymorph_codegen/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,11 @@ runs:
run: |
echo "PROJECT_DEPENDENCIES=${{ inputs.update-and-regenerate-mpl != 'true' && 'PROJECT_DEPENDENCIES=' || '' }}" >> $GITHUB_OUTPUT
- name: Print dotnet version
shell: bash
run: |
dotnet --version
- name: Regenerate Dafny code using smithy-dafny
# Unfortunately Dafny codegen doesn't work on Windows:
# https://github.com/smithy-lang/smithy-dafny/issues/317
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/ci_codegen.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,9 @@ jobs:
with:
dotnet-version: ${{ matrix.dotnet-version }}

- name: Create temporary global.json
run: echo '{"sdk":{"rollForward":"latestFeature","version":"6.0.0"}}' > ./global.json

- name: Setup Java 17 for codegen
uses: actions/setup-java@v3
with:
Expand Down

0 comments on commit 2b85507

Please sign in to comment.