Upgrade to Play v2.9, Scala 2.13, Java 11 #160
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 for sbt-riffraff-artifact | |
on: | |
pull_request: | |
# Manual invocation. | |
workflow_dispatch: | |
push: | |
branches: | |
- main | |
jobs: | |
ci: | |
runs-on: ubuntu-latest | |
# See https://docs.github.com/en/actions/security-guides/automatic-token-authentication#permissions-for-the-github_token | |
permissions: | |
# required by aws-actions/configure-aws-credentials | |
id-token: write | |
contents: read | |
steps: | |
- name: Checkout branch | |
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 | |
- uses: guardian/[email protected] | |
- name: Set up JDK | |
uses: actions/setup-java@v4 | |
with: | |
distribution: corretto | |
java-version: 17 | |
cache: sbt | |
- name: CI yarn | |
shell: bash | |
run: | | |
yarn install --force --frozen-lockfile | |
yarn lint | |
yarn test | |
yarn build | |
- name: CI for sbt-riffraff-artifact | |
shell: bash | |
run: | | |
FINAL_TEAMCITY_BUILD=1319 | |
export GITHUB_RUN_NUMBER=$(( $GITHUB_RUN_NUMBER + $FINAL_TEAMCITY_BUILD )) | |
sbt clean compile riffRaffUpload |