Skip to content

Commit

Permalink
added github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
agoston committed Jun 18, 2021
1 parent 82bc599 commit 342f15b
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 1 deletion.
32 changes: 32 additions & 0 deletions .github/workflows/maven.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
# This workflow will build a Java project with Maven
# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-maven

name: Build

on:
push:
branches: [ master ]
pull_request:
branches: [ master ]

jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2

- name: Start MongoDB
uses: supercharge/[email protected]
with:
mongodb-version: '4.2'

- name: Set up JDK
uses: actions/setup-java@v2
with:
java-version: '8'
distribution: 'adopt'

- name: Build with Maven
run: mvn -B package --file pom.xml
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[![Maven Central](https://img.shields.io/maven-central/v/com.bol/spring-data-mongodb-encrypt.svg)](http://search.maven.org/#search%7Cga%7C1%7Ccom.bol)

[![Build](https://github.com/bolcom/spring-data-mongodb-encrypt/actions/workflows/maven.yml/badge.svg)](https://github.com/bolcom/spring-data-mongodb-encrypt/actions)

# spring-data-mongodb-encrypt

Expand Down

0 comments on commit 342f15b

Please sign in to comment.