-
Notifications
You must be signed in to change notification settings - Fork 123
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
remaining changes for actions-raff-raff@4, and setup-scala
- Loading branch information
1 parent
7aa0df7
commit 7c4ec77
Showing
1 changed file
with
3 additions
and
11 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,7 +7,7 @@ on: | |
- main | ||
jobs: | ||
CI: | ||
runs-on: ubuntu-22.04 | ||
runs-on: ubuntu-latest | ||
permissions: | ||
# required by aws-actions/configure-aws-credentials | ||
id-token: write | ||
|
@@ -56,11 +56,7 @@ jobs: | |
sudo apt-get -y install graphicsmagick-imagemagick-compat | ||
sudo apt-get -y install exiftool | ||
- name: Setup Java | ||
uses: actions/setup-java@v4 | ||
with: | ||
java-version: '11' | ||
distribution: 'corretto' | ||
cache: 'sbt' | ||
uses: guardian/setup-scala@v1 | ||
- name: SBT | ||
env: | ||
USE_DOCKER_FOR_TESTS: false # i.e. don't initialise the DockerContainer within tests, instead rely on the ones defined in the 'services' section of this file | ||
|
@@ -77,15 +73,11 @@ jobs: | |
npm install-clean | ||
npm test | ||
npm run build | ||
- uses: aws-actions/configure-aws-credentials@v4 | ||
if: "! github.event.pull_request.head.repo.fork" | ||
with: | ||
role-to-assume: ${{ secrets.GU_RIFF_RAFF_ROLE_ARN }} | ||
aws-region: eu-west-1 | ||
- uses: guardian/[email protected] | ||
if: "! github.event.pull_request.head.repo.fork" | ||
with: | ||
githubToken: ${{ secrets.GITHUB_TOKEN }} | ||
roleArn: ${{ secrets.GU_RIFF_RAFF_ROLE_ARN }} | ||
commentingStage: TEST | ||
projectName: media-service::grid::all | ||
buildNumberOffset: 7565 | ||
|