Skip to content

Commit

Permalink
Don't use specific git hash (SHA1) for GitHub Actions (#3331)
Browse files Browse the repository at this point in the history
  • Loading branch information
jbonofre authored Mar 4, 2025
1 parent d9ff61b commit a2047e9
Show file tree
Hide file tree
Showing 15 changed files with 22 additions and 22 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/codeql-java-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ jobs:
queries: +security-and-quality

- name: 'Setup Temurin JDK 8, 11, 17 & 21'
uses: actions/setup-java@6a0805fcefea3d4657a47ac4c165951e33482018 # v4.2.2
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/java-publish-snapshot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ jobs:
${{ runner.os }}-maven-
- name: 'Setup Temurin JDK 8, 11, 17 & 21'
uses: actions/setup-java@6a0805fcefea3d4657a47ac4c165951e33482018 # v4.2.2
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/maven4.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ jobs:
${{ runner.os }}-maven-build-cache
- name: 'Setup Temurin JDK 8, 11, 17 & 21'
uses: actions/setup-java@6a0805fcefea3d4657a47ac4c165951e33482018 # v4.2.2
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/rat.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:
${{ runner.os }}-maven-
- name: 'Setup Temurin JDK 8, 11, 17 & 21'
uses: actions/setup-java@6a0805fcefea3d4657a47ac4c165951e33482018 # v4.2.2
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/spotless.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ jobs:
${{ runner.os }}-maven-
- name: 'Setup Temurin JDK 8, 11, 17 & 21'
uses: actions/setup-java@6a0805fcefea3d4657a47ac4c165951e33482018 # v4.2.2
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: |
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test-lang-c.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ jobs:
${{ runner.os }}-maven-
- name: 'Setup Temurin JDK 8, 11, 17 & 21'
uses: actions/setup-java@6a0805fcefea3d4657a47ac4c165951e33482018 # v4.2.2
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: |
Expand Down Expand Up @@ -118,7 +118,7 @@ jobs:
${{ runner.os }}-maven-
- name: 'Setup Temurin JDK 8, 11, 17 & 21'
uses: actions/setup-java@6a0805fcefea3d4657a47ac4c165951e33482018 # v4.2.2
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test-lang-csharp-ARM.yml
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ jobs:
${{ runner.os }}-maven-
- name: 'Setup Temurin JDK 8, 11, 17 & 21'
uses: actions/setup-java@6a0805fcefea3d4657a47ac4c165951e33482018 # v4.2.2
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test-lang-csharp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ jobs:
${{ runner.os }}-maven-
- name: 'Setup Temurin JDK 8, 11, 17 & 21'
uses: actions/setup-java@6a0805fcefea3d4657a47ac4c165951e33482018 # v4.2.2
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: |
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/test-lang-java-ARM.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,10 @@ jobs:

steps:
- name: 'Checkout sourcecode'
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
uses: actions/checkout@v4

- name: 'Setup Temurin JDK 8, 11, 17 & 21'
uses: actions/setup-java@6a0805fcefea3d4657a47ac4c165951e33482018 # v4.2.2
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: |
Expand All @@ -53,7 +53,7 @@ jobs:
21
- name: 'Cache Local Maven Repository'
uses: actions/cache@13aacd865c20de90d75de3b17ebe84f7a17d57d2 # v4.0.0
uses: actions/cache@v4
with:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/test-lang-java.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,18 +39,18 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: 'Checkout sourcecode'
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
uses: actions/checkout@v4

- name: 'Cache Local Maven Repository'
uses: actions/cache@13aacd865c20de90d75de3b17ebe84f7a17d57d2 # v4.0.0
uses: actions/cache@v4
with:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
restore-keys: |
${{ runner.os }}-maven-
- name: 'Setup Temurin JDK 11, 17 & 21'
uses: actions/setup-java@6a0805fcefea3d4657a47ac4c165951e33482018 # v4.2.2
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: |
Expand Down Expand Up @@ -86,7 +86,7 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- uses: actions/checkout@v4

- name: 'Cache Local Maven Repository'
uses: actions/cache@v4
Expand All @@ -97,7 +97,7 @@ jobs:
${{ runner.os }}-maven-
- name: 'Setup Temurin JDK 11, 17 & 21'
uses: actions/setup-java@6a0805fcefea3d4657a47ac4c165951e33482018 # v4.2.2
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test-lang-perl-ARM.yml
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ jobs:
${{ runner.os }}-maven-
- name: 'Setup Temurin JDK 8, 11, 17 & 21'
uses: actions/setup-java@6a0805fcefea3d4657a47ac4c165951e33482018 # v4.2.2
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test-lang-perl.yml
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ jobs:
${{ runner.os }}-maven-
- name: 'Setup Temurin JDK 8, 11, 17 & 21'
uses: actions/setup-java@6a0805fcefea3d4657a47ac4c165951e33482018 # v4.2.2
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test-lang-php.yml
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ jobs:
${{ runner.os }}-maven-
- name: 'Setup Temurin JDK 8, 11, 17 & 21'
uses: actions/setup-java@6a0805fcefea3d4657a47ac4c165951e33482018 # v4.2.2
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test-lang-py.yml
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ jobs:
${{ runner.os }}-maven-
- name: 'Setup Temurin JDK 8, 11, 17 & 21'
uses: actions/setup-java@6a0805fcefea3d4657a47ac4c165951e33482018 # v4.2.2
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test-lang-ruby.yml
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ jobs:
${{ runner.os }}-maven-
- name: 'Setup Temurin JDK 8, 11, 17 & 21'
uses: actions/setup-java@6a0805fcefea3d4657a47ac4c165951e33482018 # v4.2.2
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: |
Expand Down

0 comments on commit a2047e9

Please sign in to comment.