fix: codegen changes for calling aws sdk from local service #3300
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: smithy-dafny-codegen-cli workflows | |
on: | |
pull_request: | |
push: | |
branches: | |
- main-1.x | |
jobs: | |
gradle-build-smithy-dafny: | |
strategy: | |
fail-fast: false | |
matrix: | |
os: [ubuntu-latest, windows-latest, macos-12] | |
runs-on: ${{matrix.os}} | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
submodules: recursive | |
- uses: actions/setup-java@v3 | |
with: | |
distribution: "corretto" | |
java-version: "17" | |
- uses: actions/setup-java@v3 | |
with: | |
distribution: "corretto" | |
java-version: "17" | |
- name: Setup Dafny | |
uses: dafny-lang/setup-dafny-action@v1.7.0 | |
with: | |
# Matching the hard-coded version for the "2023" edition for now | |
dafny-version: 4.1.0 | |
- name: Install Smithy-Dafny codegen dependencies | |
uses: ./.github/actions/install_smithy_dafny_codegen_dependencies | |
- name: Execute smithy-dafny-codegen-cli tests | |
uses: gradle/gradle-build-action@v2 | |
with: | |
arguments: :smithy-dafny-codegen-cli:test | |
build-root-directory: codegen | |
- name: Execute smithy-dafny-codegen tests | |
uses: gradle/gradle-build-action@v2 | |
with: | |
arguments: :smithy-dafny-codegen:test | |
build-root-directory: codegen | |
- name: not-grep | |
if: matrix.os == 'ubuntu-latest' | |
uses: mattsb42-meta/not-grep@1.0.0 |