Skip to content

Commit

Permalink
Use JDK17 for building and tests
Browse files Browse the repository at this point in the history
  • Loading branch information
LogFlames committed Oct 30, 2024
1 parent 93c7740 commit 3bb6543
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,11 @@ jobs:
steps:
- name: Checkout repository
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
- name: Set up JDK 17
uses: actions/setup-java@8df1039502a15bceb9433410b1a100fbe190c53b # v4
with:
java-version: '17'
distribution: 'temurin'

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
Expand Down
7 changes: 6 additions & 1 deletion .github/workflows/smoke-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,11 @@ jobs:
steps:
- name: checkout
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
- name: Set up JDK 17
uses: actions/setup-java@8df1039502a15bceb9433410b1a100fbe190c53b # v4
with:
java-version: '17'
distribution: 'temurin'
- uses: actions/cache@6849a6489940f00c2f30c0fb92c6274307ccb58a # v4
with:
path: /root/.jbang
Expand All @@ -30,4 +35,4 @@ jobs:
env:
JBANG_REPO: /root/.jbang/repository
GITHUB_TOKEN: $
WORKING_DIRECTORY: ${{ env.working-directory }}
WORKING_DIRECTORY: ${{ env.working-directory }}

0 comments on commit 3bb6543

Please sign in to comment.