Skip to content

Commit

Permalink
submodule inits, simpler impl
Browse files Browse the repository at this point in the history
  • Loading branch information
robin-aws committed Oct 22, 2024
1 parent 9acd274 commit 1a0d072
Show file tree
Hide file tree
Showing 8 changed files with 12 additions and 28 deletions.

This file was deleted.

5 changes: 5 additions & 0 deletions .github/actions/polymorph_codegen/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,11 @@ outputs:
runs:
using: "composite"
steps:
- name: Install smithy-dafny dependencies locally
shell: bash
run: |
make -C smithy-dafny mvn_local_deploy_polymorph_dependencies
# Replace the project.properties file so that we pick up the right runtimes etc.,
# in cases where inputs.dafny is different from the current value in that file.
- name: Update top-level project.properties file
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/library_dafny_verification.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ jobs:
# The specification submodule is private so we don't have access, but we don't need
# it to verify the Dafny code. Instead we manually pull the submodules we DO need.
- run: git submodule update --init libraries
- run: git submodule update --init smithy-dafny
- run: git submodule update --init --recursive smithy-dafny

- name: Setup Dafny
uses: dafny-lang/[email protected]
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/library_format.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ jobs:
# The specification submodule is private so we don't have access, but we don't need
# it to verify the Dafny code. Instead we manually pull the submodule we DO need.
- run: git submodule update --init libraries
- run: git submodule update --init smithy-dafny
- run: git submodule update --init recursive smithy-dafny

- name: Setup Dafny
uses: dafny-lang/[email protected]
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/library_interop_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ jobs:
# Not all submodules are needed.
# We manually pull the submodule we DO need.
- run: git submodule update --init libraries
- run: git submodule update --init smithy-dafny
- run: git submodule update --init recursive smithy-dafny

# Set up runtimes
- name: Setup .NET Core SDK ${{ matrix.dotnet-version }}
Expand Down Expand Up @@ -170,7 +170,7 @@ jobs:
# Not all submodules are needed.
# We manually pull the submodule we DO need.
- run: git submodule update --init libraries
- run: git submodule update --init smithy-dafny
- run: git submodule update --init recursive smithy-dafny

# Set up runtimes
- name: Setup .NET Core SDK ${{ matrix.dotnet-version }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/library_java_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ jobs:
# The specification submodule is private so we don't have access, but we don't need
# it to verify the Dafny code. Instead we manually pull the submodules we DO need.
- run: git submodule update --init libraries
- run: git submodule update --init smithy-dafny
- run: git submodule update --init recursive smithy-dafny

- name: Setup Dafny
uses: dafny-lang/[email protected]
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/library_net_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ jobs:
# The specification submodule is private so we don't have access, but we don't need
# it to verify the Dafny code. Instead we manually pull the submodules we DO need.
- run: git submodule update --init libraries
- run: git submodule update --init smithy-dafny
- run: git submodule update --init recursive smithy-dafny

- name: Setup .NET Core SDK ${{ matrix.dotnet-version }}
uses: actions/setup-dotnet@v3
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/library_python_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ jobs:
# The specification submodule is private so we don't have access, but we don't need
# it to verify the Dafny code. Instead we manually pull the submodules we DO need.
- run: git submodule update --init libraries
- run: git submodule update --init smithy-dafny
- run: git submodule update --init recursive smithy-dafny

- name: Setup Dafny
uses: dafny-lang/[email protected]
Expand Down

0 comments on commit 1a0d072

Please sign in to comment.