Skip to content

Commit

Permalink
Merge pull request #209 from guardian/add-java-version
Browse files Browse the repository at this point in the history
  • Loading branch information
rtyley authored Jun 5, 2024
2 parents 7f7087e + 5d991cc commit 251fd58
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,10 @@ jobs:

# Configuring caching is also recommended.
# See https://github.com/actions/setup-java
- name: Setup Java 11
uses: actions/setup-java@v3
- name: Setup Java
uses: actions/setup-java@v4
with:
java-version: '11'
java-version: '21'
distribution: 'corretto'
cache: 'sbt'

Expand Down
1 change: 1 addition & 0 deletions .tool-versions
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
java corretto-21.0.3.9.1
2 changes: 1 addition & 1 deletion cloudformation/cfn.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ Resources:
- s3:GetObject
Resource: !Sub arn:aws:s3:::${ConfigBucket}/*
Handler: com.gu.anghammarad.Lambda::handleRequest
Runtime: java11
Runtime: java21
MemorySize: 512
Timeout: 30
CodeUri:
Expand Down

0 comments on commit 251fd58

Please sign in to comment.