Skip to content

Commit

Permalink
enable KMS key testing
Browse files Browse the repository at this point in the history
Signed-off-by: Petre Eftime <[email protected]>
  • Loading branch information
Petre Eftime authored and petreeftime committed Aug 22, 2022
1 parent b95205c commit 63d1157
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,21 +8,30 @@ on:
branches:
- main


env:
RUSTFLAGS: -Dwarnings
AWS_KMS_TEST_KEY_ARN: arn:aws:kms:us-east-1:667861386598:key/d7da2f8d-2bdf-4c62-963f-16c921522fee
TEST_KEY_SIG_ALG: ES384

jobs:
test:
name: Test on rust ${{matrix.rust}} (keys ${{ matrix.key_feature_set }})
runs-on: ubuntu-latest
permissions:
id-token: write
contents: read
strategy:
matrix:
rust: [1.58.1, stable, nightly]
key_feature_set:
- key_openssl_pkey
- key_kms
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- uses: aws-actions/configure-aws-credentials@v1
with:
role-to-assume: ${{ secrets.AWS_TEST_ROLE_ARN }}
aws-region: us-east-1
- uses: dtolnay/rust-toolchain@master
with:
toolchain: ${{matrix.rust}}
Expand Down

0 comments on commit 63d1157

Please sign in to comment.