Skip to content

Commit

Permalink
remaining changes for actions-raff-raff@4, and setup-scala
Browse files Browse the repository at this point in the history
  • Loading branch information
andrew-nowak committed Feb 20, 2025
1 parent 7aa0df7 commit 7c4ec77
Showing 1 changed file with 3 additions and 11 deletions.
14 changes: 3 additions & 11 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 7c4ec77

Please sign in to comment.