Skip to content

Commit

Permalink
ci: update CI java versions; upgrade GitHub actions
Browse files Browse the repository at this point in the history
  • Loading branch information
zavakid authored and oldratlee committed Dec 5, 2023
1 parent dbbf3bf commit c410628
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 16 deletions.
4 changes: 4 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,7 @@ updates:
directory: "/auto-pipeline-examples"
schedule:
interval: "daily"
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "daily"
8 changes: 4 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,14 @@ jobs:
strategy:
matrix:
os: [ ubuntu-20.04, windows-2022 ]
java: [ 8, 20 ]
java: [ 8, 21 ]
fail-fast: false
max-parallel: 32
name: Test JDK ${{ matrix.java }}, ${{ matrix.os }}
name: CI on JDK ${{ matrix.java }} OS ${{ matrix.os }}

steps:
- uses: actions/checkout@v3
- uses: actions/setup-java@v3
- uses: actions/checkout@v4
- uses: actions/setup-java@v4
with:
distribution: zulu
java-version: ${{ matrix.java }}
Expand Down
19 changes: 7 additions & 12 deletions .github/workflows/strong-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,39 +19,34 @@ jobs:
# https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#choosing-github-hosted-runners
runs-on: ubuntu-latest
timeout-minutes: 15
name: test by multiply java versions
name: CI by multiply java versions

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
submodules: recursive

- name: setup Java 8
uses: actions/setup-java@v3
uses: actions/setup-java@v4
with:
java-version: 8
distribution: zulu
# only first java setup need enable cache
cache: maven
- name: setup Java 11
uses: actions/setup-java@v3
uses: actions/setup-java@v4
with:
java-version: 11
distribution: microsoft
- name: setup Java 17
uses: actions/setup-java@v3
uses: actions/setup-java@v4
with:
java-version: 17
distribution: microsoft
- name: setup Java 20
uses: actions/setup-java@v3
with:
java-version: 20
distribution: zulu
- name: setup Java 21
uses: actions/setup-java@v3
uses: actions/setup-java@v4
with:
java-version: 21-ea
java-version: 21
distribution: zulu

- run: scripts/integration_test
Expand Down

0 comments on commit c410628

Please sign in to comment.