Use setup-scala to provide sbt #315
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: CI | |
on: | |
workflow_dispatch: | |
push: | |
jobs: | |
CI: | |
runs-on: ubuntu-latest | |
permissions: | |
id-token: write | |
contents: read | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: aws-actions/configure-aws-credentials@v1 | |
with: | |
role-to-assume: ${{ secrets.GU_RIFF_RAFF_ROLE_ARN }} | |
aws-region: eu-west-1 | |
# See https://github.com/guardian/setup-java | |
- name: Setup Java and sbt | |
uses: guardian/setup-scala@v1 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version-file: ".nvmrc" | |
- name: Build Pluto lambda | |
run: | | |
./scripts/pluto-ci.sh | |
- name: Build Media Atom Maker | |
run: | | |
./scripts/app-ci.sh | |
- name: Compile Scala and upload artifacts to RiffRaff | |
run: | | |
./scripts/scala-ci.sh |