Skip to content

Use setup-scala to provide sbt #315

Use setup-scala to provide sbt

Use setup-scala to provide sbt #315

Workflow file for this run

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