Skip to content

Commit f75db4f

Browse files
committed
CI workflow updates
1 parent 367a0d2 commit f75db4f

File tree

1 file changed

+7
-11
lines changed

1 file changed

+7
-11
lines changed

.github/workflows/main.yml

Lines changed: 7 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -16,27 +16,23 @@ jobs:
1616
fail-fast: false
1717
runs-on: ubuntu-latest
1818
steps:
19-
- uses: actions/checkout@v3
19+
- uses: actions/checkout@v4
2020

2121
- name: Setting up JDK ${{ matrix.version }}
22-
uses: actions/setup-java@v3
22+
uses: actions/setup-java@v4
2323
with:
2424
java-version: "${{ matrix.version }}"
25-
distribution: 'adopt'
25+
distribution: 'temurin'
26+
cache: 'maven'
2627

27-
- name: Install Docker Compose
28-
run: |
29-
sudo apt-get update
30-
sudo apt-get install -y docker-compose
31-
3228
- name: Running Kafka
33-
run: docker-compose -f docker/compose/kafka-schema-registry.yml up -d && sleep 10
29+
run: docker compose -f docker/compose/kafka-schema-registry.yml up -d && sleep 10
3430

3531
- name: Running PostgreSQL (to test DB SQL Executor)
36-
run: docker-compose -f docker/compose/pg_compose.yml up -d
32+
run: docker compose -f docker/compose/pg_compose.yml up -d
3733

3834
- name: Building and testing the changes
39-
run: mvn clean test
35+
run: mvn clean test -ntp
4036

4137
- if: always()
4238
name: Junit html report

0 commit comments

Comments
 (0)