Skip to content

Commit

Permalink
EH-1715 java 17
Browse files Browse the repository at this point in the history
  • Loading branch information
tomikat committed Nov 5, 2024
1 parent be5759c commit 4979e0d
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 1 deletion.
16 changes: 16 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,23 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- name: Setup JDK 17
uses: actions/setup-java@v3
with:
java-version: '17'
distribution: 'temurin'

- name: Install Dependencies
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
shell: bash
run: |
git clone https://github.com/Opetushallitus/ci-tools.git
lein deps
- name: Run tests
run: lein test

- name: Static checks
run: lein checkall
2 changes: 1 addition & 1 deletion cdk/lib/heratepalvelu.ts
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ export class HeratepalveluStack extends Stack {
stage: envName
};

this.runtime = lambda.Runtime.JAVA_11;
this.runtime = lambda.Runtime.JAVA_17;
}

createErrorMetricFilter = (stack: string, logGroup: LogGroup) => {
Expand Down

0 comments on commit 4979e0d

Please sign in to comment.