2929 fail-fast : false
3030 matrix :
3131 library : [DynamoDbEncryption, TestVectors]
32- os : [ubuntu-22.04, macos-14 ]
32+ os : [ubuntu-22.04, macos-15-intel ]
3333 go-version : ["1.23", "1.24", "1.25"]
3434 runs-on : ${{ matrix.os }}
3535 permissions :
@@ -43,27 +43,16 @@ jobs:
4343 role-to-assume : arn:aws:iam::370957321024:role/GitHub-CI-DDBEC-Dafny-Role-us-west-2
4444 role-session-name : DDBEC-Dafny-Java-Tests
4545
46- - name : Install Java
47- uses : actions/setup-java@v5
48- with :
49- distribution : " corretto"
50- java-version : " 11" # DynamoDB Local requires Java
51-
52- - name : Download DynamoDB Local
53- run : |
54- wget https://dynamodb-local.s3.amazonaws.com/dynamodb_local_latest.tar.gz
55- tar -xf dynamodb_local_latest.tar.gz
56-
57- - name : Start DynamoDB Local
58- run : java -Djava.library.path=./DynamoDBLocal_lib -jar DynamoDBLocal.jar -inMemory -sharedDb &
59- # The & runs the Java process in the background.
46+ - name : Setup Docker
47+ if : matrix.os == 'macos-15-intel' && matrix.library == 'TestVectors'
48+ uses :
douglascamata/[email protected] 6049
61- - name : Wait for DynamoDB Local
62- run : |
63- echo "Waiting for DynamoDB Local to start..."
64- until curl -s http://localhost:8000; do
65- sleep 1
66- done
50+ - name : Setup DynamoDB Local
51+ if : matrix.library == 'TestVectors'
52+ 53+ with :
54+ port : 8000
55+ cors : " * "
6756
6857 - name : Support longpaths
6958 run : |
0 commit comments