Add exclusion rule to workaround play-json-extensions #155
Workflow file for this run
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: Schedule lambda | |
on: | |
push: | |
paths: | |
- schedulelambda/** | |
- commonscheduledynamodb/** | |
- project/** | |
- build.sbt | |
- .github/workflows/schedule-lambda.yml | |
workflow_dispatch: | |
# allow queued workflows to interrupt previous runs | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.event.number || github.ref }} | |
cancel-in-progress: true | |
permissions: | |
id-token: write | |
contents: read | |
pull-requests: write | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-java@v3 | |
with: | |
distribution: corretto | |
cache: sbt | |
java-version: 11 | |
- uses: aws-actions/configure-aws-credentials@v2 | |
with: | |
aws-region: eu-west-1 | |
role-to-assume: ${{ secrets.GU_RIFF_RAFF_ROLE_ARN }} | |
- name: Compile, test and assembly | |
run: sbt "project commonscheduledynamodb" "compile" "test" "project schedule" "compile" "test" "assembly" | |
- name: Copy jar to root | |
run: cp schedulelambda/target/scala-*/schedule.jar . | |
- name: Upload to riff-raff | |
uses: guardian/actions-riff-raff@v3 | |
with: | |
githubToken: ${{ secrets.GITHUB_TOKEN }} | |
projectName: mobile-n10n:schedule | |
buildNumberOffset: 4147 | |
configPath: schedulelambda/riff-raff.yaml | |
contentDirectories: | | |
schedule: | |
- schedule.jar | |
schedule-cfn: | |
- schedulelambda/cfn.yaml |