Skip to content

Commit

Permalink
Temurin 17 for every builds
Browse files Browse the repository at this point in the history
  • Loading branch information
vrampal committed Apr 21, 2024
1 parent f78bb0b commit 27070ff
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 13 deletions.
11 changes: 7 additions & 4 deletions .github/workflows/basic-maven-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,16 +8,19 @@ jobs:
build:
name: Maven build
runs-on: ubuntu-latest

permissions:
contents: read

steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Set up JDK
uses: actions/setup-java@v3
uses: actions/setup-java@v4
with:
java-version: '11'
distribution: 'zulu'
java-version: '17'
distribution: 'temurin'
cache: 'maven'

- name: Build with Maven
Expand Down
13 changes: 6 additions & 7 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
@@ -1,18 +1,17 @@
name: CodeQL build
name: CodeQL check

on:
push:
branches: [ master ]
schedule:
- cron: '0 10 * * 4'
- cron: '0 9 * * 4'

jobs:
analyze:
name: Analyze
runs-on: ubuntu-latest

permissions:
actions: read
contents: read
security-events: write

Expand All @@ -24,16 +23,16 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Initialize CodeQL
uses: github/codeql-action/init@v2
uses: github/codeql-action/init@v3
with:
languages: ${{ matrix.language }}
queries: security-and-quality

- name: Autobuild
uses: github/codeql-action/autobuild@v2
uses: github/codeql-action/autobuild@v3

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2
uses: github/codeql-action/analyze@v3
2 changes: 1 addition & 1 deletion .gitlab-ci.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
image: maven:3.8-jdk-11-slim
image: maven:3-eclipse-temurin-17

cache:
paths:
Expand Down
2 changes: 1 addition & 1 deletion bitbucket-pipelines.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
image: maven:3.8-jdk-11-slim
image: maven:3-eclipse-temurin-17

pipelines:
default:
Expand Down

0 comments on commit 27070ff

Please sign in to comment.