Merge pull request #436 from nationalarchives/update/scala-steward-de… #1529
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Run Lambda tests | |
on: | |
pull_request: | |
push: | |
branches-ignore: | |
- main | |
- release-* | |
permissions: | |
id-token: write | |
contents: write | |
actions: write | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
environment: intg | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- uses: coursier/cache-action@v6 | |
- name: Configure AWS credentials from management account | |
uses: aws-actions/configure-aws-credentials@v1-node16 | |
with: | |
role-to-assume: arn:aws:iam::${{ secrets.MANAGEMENT_ACCOUNT }}:role/TDRGithubActionsRoleMgmt | |
aws-region: eu-west-2 | |
role-session-name: APIDownloadDependencies | |
- name: Test | |
run: sbt test |