Skip to content
Merged
Show file tree
Hide file tree
Changes from 4 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .github/workflows/basic-validation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ on:
paths-ignore:
- '**.md'

permissions:
contents: read

jobs:
call-basic-validation:
name: Basic validation
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/check-dist.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ on:
- '**.md'
workflow_dispatch:

permissions:
contents: read

jobs:
call-check-dist:
name: Check dist/
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ on:
schedule:
- cron: '0 3 * * 0'

permissions: {}

jobs:
call-codeQL-analysis:
permissions:
Expand Down
9 changes: 9 additions & 0 deletions .github/workflows/e2e-cache-dependency-path.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ on:
paths-ignore:
- '**.md'

permissions:
contents: read

defaults:
run:
shell: bash
Expand All @@ -25,6 +28,8 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v6
with:
persist-credentials: false
- name: Run setup-java with the cache for gradle
uses: ./
id: setup-java
Expand Down Expand Up @@ -52,6 +57,8 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v6
with:
persist-credentials: false
- name: Run setup-java with the cache for gradle
uses: ./
id: setup-java
Expand All @@ -77,6 +84,8 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v6
with:
persist-credentials: false
- name: Run setup-java with the cache for gradle
uses: ./
id: setup-java
Expand Down
15 changes: 15 additions & 0 deletions .github/workflows/e2e-cache.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ on:
paths-ignore:
- '**.md'

permissions:
contents: read

defaults:
run:
shell: bash
Expand All @@ -25,6 +28,8 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v6
with:
persist-credentials: false
- name: Run setup-java with the cache for gradle
uses: ./
id: setup-java
Expand All @@ -51,6 +56,8 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v6
with:
persist-credentials: false
- name: Run setup-java with the cache for gradle
uses: ./
id: setup-java
Expand All @@ -74,6 +81,8 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v6
with:
persist-credentials: false
- name: Run setup-java with the cache for maven
uses: ./
id: setup-java
Expand All @@ -98,6 +107,8 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v6
with:
persist-credentials: false
- name: Run setup-java with the cache for maven
uses: ./
id: setup-java
Expand Down Expand Up @@ -125,6 +136,8 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v6
with:
persist-credentials: false
- name: Run setup-java with the cache for sbt
uses: ./
id: setup-java
Expand Down Expand Up @@ -175,6 +188,8 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v6
with:
persist-credentials: false
- name: Run setup-java with the cache for sbt
uses: ./
id: setup-java
Expand Down
21 changes: 18 additions & 3 deletions .github/workflows/e2e-local-file.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ on:
paths-ignore:
- '**.md'

permissions:
contents: read

jobs:
setup-java-local-file-adopt:
name: Validate installation from local file Adopt
Expand All @@ -22,6 +25,8 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v6
with:
persist-credentials: false
- name: Download Adopt OpenJDK file
run: |
if ($IsLinux) {
Expand All @@ -46,7 +51,9 @@ jobs:
java-version: '11.0.0-ea'
architecture: x64
- name: Verify Java version
run: bash __tests__/verify-java.sh "11.0.10" "${{ steps.setup-java.outputs.path }}"
env:
JAVA_PATH: ${{ steps.setup-java.outputs.path }}
run: bash __tests__/verify-java.sh "11.0.10" "$JAVA_PATH"
shell: bash

setup-java-local-file-zulu:
Expand All @@ -59,6 +66,8 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v6
with:
persist-credentials: false
- name: Download Zulu OpenJDK file
run: |
if ($IsLinux) {
Expand All @@ -83,7 +92,9 @@ jobs:
java-version: '11.0.0-ea'
architecture: x64
- name: Verify Java version
run: bash __tests__/verify-java.sh "11.0" "${{ steps.setup-java.outputs.path }}"
env:
JAVA_PATH: ${{ steps.setup-java.outputs.path }}
run: bash __tests__/verify-java.sh "11.0" "$JAVA_PATH"
shell: bash

setup-java-local-file-temurin:
Expand All @@ -96,6 +107,8 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v6
with:
persist-credentials: false
- name: Download Eclipse Temurin file
run: |
if ($IsLinux) {
Expand All @@ -120,5 +133,7 @@ jobs:
java-version: '11.0.0-ea'
architecture: x64
- name: Verify Java version
run: bash __tests__/verify-java.sh "11.0.12" "${{ steps.setup-java.outputs.path }}"
env:
JAVA_PATH: ${{ steps.setup-java.outputs.path }}
run: bash __tests__/verify-java.sh "11.0.12" "$JAVA_PATH"
shell: bash
11 changes: 11 additions & 0 deletions .github/workflows/e2e-publishing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ on:
paths-ignore:
- '**.md'

permissions:
contents: read

defaults:
run:
shell: pwsh
Expand All @@ -26,6 +29,8 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v6
with:
persist-credentials: false
- name: setup-java
uses: ./
id: setup-java
Expand Down Expand Up @@ -61,6 +66,8 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v6
with:
persist-credentials: false
- name: Create fake settings.xml
run: |
$xmlDirectory = Join-Path $HOME ".m2"
Expand Down Expand Up @@ -97,6 +104,8 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v6
with:
persist-credentials: false
- name: Create fake settings.xml
run: |
$xmlDirectory = Join-Path $HOME ".m2"
Expand Down Expand Up @@ -134,6 +143,8 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v6
with:
persist-credentials: false
- name: setup-java
uses: ./
id: setup-java
Expand Down
Loading
Loading