Skip to content

Commit 8c4eded

Browse files
authored
Merge branch 'main' into ajewell/buckets
2 parents 096094f + 728158e commit 8c4eded

File tree

22 files changed

+234
-221
lines changed

22 files changed

+234
-221
lines changed

.github/actions/install_smithy_dafny_codegen_dependencies/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ runs:
2222
- name: Setup Python, black, and docformatter for code formatting
2323
uses: actions/setup-python@v6
2424
with:
25-
python-version: ${{ matrix.python-version }}
25+
python-version: 3.11
2626
architecture: x64
2727
- shell: bash
2828
run: |

.github/workflows/ci_test_go.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ jobs:
4545

4646
- name: Setup Docker
4747
if: matrix.os == 'macos-15-intel' && matrix.library == 'TestVectors'
48-
uses: douglascamata/[email protected].1
48+
uses: douglascamata/[email protected].2
4949

5050
- name: Setup DynamoDB Local
5151
if: matrix.library == 'TestVectors'

.github/workflows/ci_test_latest_released_mpl_java.yml

Lines changed: 0 additions & 129 deletions
This file was deleted.

.github/workflows/ci_test_vector_java.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ jobs:
4848

4949
- name: Setup Docker
5050
if: matrix.os == 'macos-15-intel' && matrix.library == 'TestVectors'
51-
uses: douglascamata/[email protected].1
51+
uses: douglascamata/[email protected].2
5252

5353
- name: Setup DynamoDB Local
5454
if: matrix.library == 'TestVectors'

.github/workflows/ci_test_vector_net.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ jobs:
4444

4545
- name: Setup Docker
4646
if: matrix.os == 'macos-15-intel' && matrix.library == 'TestVectors'
47-
uses: douglascamata/[email protected].1
47+
uses: douglascamata/[email protected].2
4848

4949
- name: Setup DynamoDB Local
5050
if: matrix.library == 'TestVectors'

.github/workflows/daily_ci.yml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -61,11 +61,6 @@ jobs:
6161
uses: ./.github/workflows/library_rust_tests.yml
6262
with:
6363
dafny: ${{needs.getVersion.outputs.version}}
64-
daily-ci-go:
65-
needs: getVersion
66-
uses: ./.github/workflows/ci_test_go.yml
67-
with:
68-
dafny: ${{needs.getVersion.outputs.version}}
6964
daily-ci-net-test-vectors:
7065
needs: getVersion
7166
uses: ./.github/workflows/ci_test_vector_net.yml
@@ -90,7 +85,6 @@ jobs:
9085
daily-ci-java-examples,
9186
daily-ci-net,
9287
daily-ci-rust,
93-
daily-ci-go,
9488
daily-ci-net-test-vectors,
9589
daily-ci-net-examples,
9690
]

.github/workflows/library_rust_tests.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ jobs:
4343

4444
- name: Setup Docker
4545
if: matrix.os == 'macos-15-intel' && matrix.library == 'TestVectors'
46-
uses: douglascamata/[email protected].1
46+
uses: douglascamata/[email protected].2
4747

4848
- name: Setup DynamoDB Local
4949
if: matrix.library == 'TestVectors'
@@ -121,6 +121,13 @@ jobs:
121121
run: |
122122
make test_rust
123123
124+
- name: Configure AWS Credentials
125+
uses: aws-actions/configure-aws-credentials@v5
126+
with:
127+
aws-region: us-west-2
128+
role-to-assume: arn:aws:iam::370957321024:role/GitHub-CI-DDBEC-Dafny-Role-us-west-2
129+
role-session-name: DDBEC-Dafny-Rust-Tests
130+
124131
- name: Test ${{ matrix.library }} Rust Fips
125132
shell: bash
126133
working-directory: ./${{ matrix.library }}/runtimes/rust/

.github/workflows/non-prod.yml

Lines changed: 99 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,99 @@
1+
# This workflow runs for every pull request
2+
name: Non Prod Daily CI
3+
4+
permissions:
5+
id-token: write
6+
contents: read
7+
on:
8+
schedule:
9+
- cron: "00 18 * * 1-5"
10+
workflow_dispatch:
11+
12+
jobs:
13+
getVersion:
14+
uses: ./.github/workflows/dafny_version.yml
15+
getVerifyVersion:
16+
uses: ./.github/workflows/dafny_verify_version.yml
17+
pr-ci-format:
18+
needs: getVersion
19+
uses: ./.github/workflows/library_format.yml
20+
with:
21+
dafny: ${{needs.getVersion.outputs.version}}
22+
pr-ci-codegen:
23+
needs: getVersion
24+
uses: ./.github/workflows/ci_codegen.yml
25+
with:
26+
dafny: ${{needs.getVersion.outputs.version}}
27+
pr-ci-verification:
28+
needs: getVerifyVersion
29+
uses: ./.github/workflows/library_dafny_verification.yml
30+
with:
31+
dafny: ${{needs.getVerifyVersion.outputs.version}}
32+
pr-ci-test-vector-verification:
33+
needs: getVerifyVersion
34+
uses: ./.github/workflows/test_vector_verification.yml
35+
with:
36+
dafny: ${{needs.getVerifyVersion.outputs.version}}
37+
pr-ci-java:
38+
needs: getVersion
39+
uses: ./.github/workflows/ci_test_java.yml
40+
with:
41+
dafny: ${{needs.getVersion.outputs.version}}
42+
pr-ci-java-test-vectors:
43+
needs: getVersion
44+
uses: ./.github/workflows/ci_test_vector_java.yml
45+
with:
46+
dafny: ${{needs.getVersion.outputs.version}}
47+
pr-ci-java-examples:
48+
needs: getVersion
49+
uses: ./.github/workflows/ci_examples_java.yml
50+
with:
51+
dafny: ${{needs.getVersion.outputs.version}}
52+
pr-ci-net:
53+
needs: getVersion
54+
uses: ./.github/workflows/ci_test_net.yml
55+
with:
56+
dafny: ${{needs.getVersion.outputs.version}}
57+
pr-ci-rust:
58+
needs: getVersion
59+
uses: ./.github/workflows/library_rust_tests.yml
60+
with:
61+
dafny: ${{needs.getVersion.outputs.version}}
62+
pr-ci-go:
63+
needs: getVersion
64+
uses: ./.github/workflows/ci_test_go.yml
65+
with:
66+
dafny: ${{needs.getVersion.outputs.version}}
67+
pr-ci-net-test-vectors:
68+
needs: getVersion
69+
uses: ./.github/workflows/ci_test_vector_net.yml
70+
with:
71+
dafny: ${{needs.getVersion.outputs.version}}
72+
pr-ci-net-examples:
73+
needs: getVersion
74+
uses: ./.github/workflows/ci_examples_net.yml
75+
with:
76+
dafny: ${{needs.getVersion.outputs.version}}
77+
pr-ci-all-required:
78+
if: always()
79+
needs:
80+
- getVersion
81+
- getVerifyVersion
82+
- pr-ci-format
83+
- pr-ci-codegen
84+
- pr-ci-verification
85+
- pr-ci-test-vector-verification
86+
- pr-ci-java
87+
- pr-ci-java-test-vectors
88+
- pr-ci-java-examples
89+
- pr-ci-net
90+
- pr-ci-rust
91+
- pr-ci-go
92+
- pr-ci-net-test-vectors
93+
- pr-ci-net-examples
94+
runs-on: ubuntu-22.04
95+
steps:
96+
- name: Verify all required jobs passed
97+
uses: re-actors/alls-green@release/v1
98+
with:
99+
jobs: ${{ toJSON(needs) }}

.github/workflows/pull.yml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -54,11 +54,6 @@ jobs:
5454
uses: ./.github/workflows/library_rust_tests.yml
5555
with:
5656
dafny: ${{needs.getVersion.outputs.version}}
57-
pr-ci-go:
58-
needs: getVersion
59-
uses: ./.github/workflows/ci_test_go.yml
60-
with:
61-
dafny: ${{needs.getVersion.outputs.version}}
6257
pr-ci-net-test-vectors:
6358
needs: getVersion
6459
uses: ./.github/workflows/ci_test_vector_net.yml
@@ -83,7 +78,6 @@ jobs:
8378
- pr-ci-java-examples
8479
- pr-ci-net
8580
- pr-ci-rust
86-
- pr-ci-go
8781
- pr-ci-net-test-vectors
8882
- pr-ci-net-examples
8983
runs-on: ubuntu-22.04

.github/workflows/push.yml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -56,11 +56,6 @@ jobs:
5656
uses: ./.github/workflows/library_rust_tests.yml
5757
with:
5858
dafny: ${{needs.getVersion.outputs.version}}
59-
pr-ci-go:
60-
needs: getVersion
61-
uses: ./.github/workflows/ci_test_go.yml
62-
with:
63-
dafny: ${{needs.getVersion.outputs.version}}
6459
pr-ci-net-test-vectors:
6560
needs: getVersion
6661
uses: ./.github/workflows/ci_test_vector_net.yml

0 commit comments

Comments
 (0)