Actions: add mongoDB start action
@@ -15,6 +15,8 @@ jobs:
with:
java-version: 1.8
- name: Launch MongoDB
- run: sudo docker run --name mongoname -d -p 27017:27017 mongo:${{ matrix.mongodb-version }}
+ uses: wbari/mongoDB@v0.1
+ with:
+ mongoDBVersion: ${{ matrix.mongodb-version }}
- name: Build with Maven
run: mvn -T 2 clean install
