@@ -8,14 +8,40 @@ description: "Install Java package dependencies required to run Smithy-Dafny cod
88runs :
99 using : " composite"
1010 steps :
11- - name : Install smithy-dafny-codegen Rust dependencies locally
12- uses : gradle/gradle-build-action@v2
11+ - name : Setup Java 17 for codegen
12+ uses : actions/setup-java@v3
1313 with :
14- arguments : :codegen-client:pTML :codegen-core:pTML :rust-runtime:pTML
15- build-root-directory : submodules/smithy-dafny/smithy-dafny-codegen-modules/smithy-rs
14+ distribution : " corretto "
15+ java-version : " 17 "
1616
17- - name : Install smithy-dafny-codegen Python dependencies locally
18- uses : gradle/gradle-build-action@v2
17+ - name : Install smithy-dafny-codegen dependencies locally
18+ shell : bash
19+ run : |
20+ make -C submodules/smithy-dafny mvn_local_deploy_polymorph_dependencies
21+
22+ - name : Setup Python, black, and docformatter for code formatting
23+ uses : actions/setup-python@v4
24+ with :
25+ python-version : ${{ matrix.python-version }}
26+ architecture : x64
27+ - shell : bash
28+ run : |
29+ python -m pip install --upgrade pip
30+ python -m pip install --upgrade black
31+ python -m pip install --upgrade docformatter
32+
33+ - name : Install Go
34+ uses : actions/setup-go@v5
1935 with :
20- arguments : :smithy-python-codegen:pTML
21- build-root-directory : submodules/smithy-dafny/codegen/smithy-dafny-codegen-modules/smithy-python/codegen
36+ go-version : " 1.23"
37+
38+ - name : Install Go imports
39+ shell : bash
40+ run : |
41+ go install golang.org/x/tools/cmd/goimports@latest
42+
43+ # Without this the if-dafny-at-least command includes "Downloading ..." output
44+ - name : Arbitrary makefile target to force downloading Gradle
45+ shell : bash
46+ run : |
47+ make -C submodules/MaterialProviders/StandardLibrary setup_net
0 commit comments