Skip to content

Commit

Permalink
bump examples testing to jdk17
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesward committed Aug 24, 2023
1 parent 1d8a696 commit 7f1bc41
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 4 deletions.
5 changes: 5 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,8 @@ updates:
directory: "/examples"
schedule:
interval: "daily"

- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "weekly"
8 changes: 4 additions & 4 deletions .github/workflows/gradle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest, macos-latest]
java: ['8', '11']
java: ['8', '11', '17']
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
Expand All @@ -33,13 +33,13 @@ jobs:
run: ./gradlew publishToMavenLocal

- name: Build Examples
if: matrix.java == '11'
if: matrix.java == '17'
run: ./gradlew build
working-directory: ./examples

- id: test-data
name: Run HelloWorld
if: matrix.java == '11'
if: matrix.java == '17'
working-directory: ./examples
run: |-
./gradlew :server:HelloWorldServer &
Expand All @@ -48,7 +48,7 @@ jobs:
echo "stdout=${OUTPUT//$'\n'/'%0A'}" >> $GITHUB_OUTPUT
- name: Test HelloWorld
if: matrix.java == '11'
if: matrix.java == '17'
uses: nick-invision/assert-action@v1
with:
expected: "Received: Hello world"
Expand Down

0 comments on commit 7f1bc41

Please sign in to comment.