Skip to content

Commit

Permalink
dependabot: bump actions/setup-java from 1 to 3 (opensearch-project#3142
Browse files Browse the repository at this point in the history
)

Bumps [actions/setup-java](https://github.com/actions/setup-java) from 1
to 3.

Also removes unused workflows

Signed-off-by: dependabot[bot] <[email protected]>
Signed-off-by: Peter Nied <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Peter Nied <[email protected]>
  • Loading branch information
dependabot[bot] and peternied authored Aug 16, 2023
1 parent bd084c8 commit 7e33bf3
Show file tree
Hide file tree
Showing 6 changed files with 15 additions and 126 deletions.
42 changes: 0 additions & 42 deletions .github/workflows/bwc-tests.yml

This file was deleted.

73 changes: 0 additions & 73 deletions .github/workflows/cd.yml

This file was deleted.

15 changes: 9 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
separateTestsNames: ${{ steps.set-matrix.outputs.separateTestsNames }}
steps:
- name: Set up JDK for build and test
uses: actions/setup-java@v2
uses: actions/setup-java@v3
with:
distribution: temurin # Temurin is a distribution of adoptium
java-version: 17
Expand All @@ -44,7 +44,7 @@ jobs:

steps:
- name: Set up JDK for build and test
uses: actions/setup-java@v2
uses: actions/setup-java@v3
with:
distribution: temurin # Temurin is a distribution of adoptium
java-version: ${{ matrix.jdk }}
Expand Down Expand Up @@ -88,7 +88,7 @@ jobs:

steps:
- name: Set up JDK for build and test
uses: actions/setup-java@v2
uses: actions/setup-java@v3
with:
distribution: temurin # Temurin is a distribution of adoptium
java-version: ${{ matrix.jdk }}
Expand All @@ -113,8 +113,9 @@ jobs:
runs-on: ${{ matrix.platform }}

steps:
- uses: actions/setup-java@v1
- uses: actions/setup-java@v3
with:
distribution: temurin # Temurin is a distribution of adoptium
java-version: ${{ matrix.jdk }}

- name: Checkout Security Repo
Expand All @@ -131,8 +132,9 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-java@v1
- uses: actions/setup-java@v3
with:
distribution: temurin # Temurin is a distribution of adoptium
java-version: 11
- uses: github/codeql-action/init@v2
with:
Expand All @@ -145,8 +147,9 @@ jobs:
steps:
- uses: actions/checkout@v3

- uses: actions/setup-java@v1
- uses: actions/setup-java@v3
with:
distribution: temurin # Temurin is a distribution of adoptium
java-version: 11

- run: |
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/code-hygiene.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
steps:
- uses: actions/checkout@v3

- uses: actions/setup-java@v2
- uses: actions/setup-java@v3
with:
distribution: temurin # Temurin is a distribution of adoptium
java-version: 11
Expand All @@ -35,7 +35,7 @@ jobs:
steps:
- uses: actions/checkout@v3

- uses: actions/setup-java@v2
- uses: actions/setup-java@v3
with:
distribution: temurin # Temurin is a distribution of adoptium
java-version: 11
Expand All @@ -51,7 +51,7 @@ jobs:
steps:
- uses: actions/checkout@v3

- uses: actions/setup-java@v2
- uses: actions/setup-java@v3
with:
distribution: temurin # Temurin is a distribution of adoptium
java-version: 11
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/integration-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
test-run: [1, 2, 3, 4, 5, 6, 7, 8, 9, 10]

steps:
- uses: actions/setup-java@v2
- uses: actions/setup-java@v3
with:
distribution: temurin # Temurin is a distribution of adoptium
java-version: ${{ matrix.jdk }}
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/plugin_install.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,9 @@ jobs:

steps:
- name: Set up JDK
uses: actions/setup-java@v1
uses: actions/setup-java@v3
with:
distribution: temurin # Temurin is a distribution of adoptium
java-version: ${{ matrix.jdk }}

- name: Checkout Branch
Expand Down

0 comments on commit 7e33bf3

Please sign in to comment.