chore(deps): Guardian library updates #168
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: Build | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
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 | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup JDK and sbt | |
uses: guardian/setup-scala@v1 | |
- uses: aws-actions/configure-aws-credentials@v2 | |
with: | |
aws-region: eu-west-1 | |
role-to-assume: ${{ secrets.GU_RIFF_RAFF_ROLE_ARN }} | |
- name: Clean, compile and test | |
run: sbt clean compile test assembly | |
- name: Upload to riff-raff | |
uses: guardian/actions-riff-raff@v2 | |
with: | |
app: live-app-versions | |
buildNumberOffset: 172 | |
configPath: riff-raff.yaml | |
contentDirectories: | | |
live-app-versions: | |
- target/scala-2.13/live-app-versions.jar | |
live-app-versions-cfn: | |
- cfn.yaml |