Skip to content
This repository has been archived by the owner on Jan 18, 2021. It is now read-only.

Commit

Permalink
Add github workflow and testing action
Browse files Browse the repository at this point in the history
  • Loading branch information
lemoncurry committed Apr 15, 2020
1 parent 3a85151 commit 420ecbb
Showing 1 changed file with 38 additions and 0 deletions.
38 changes: 38 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
name: main

on:
push:
pull_request:

jobs:
build_and_test:
name: Build and test project
runs-on: ubuntu-latest
steps:
- name: Checkout repo
uses: actions/checkout@v2

- name: Set up JDK 11
uses: actions/setup-java@v1
with:
java-version: 11

- name: Cache dependencies
uses: actions/cache@v1
with:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
restore-keys: |
${{ runner.os }}-maven-
- name: Build and test project
env:
RECHECK_API_KEY: ${{ secrets.RECHECK_API_KEY }}
run: mvn -B clean verify







0 comments on commit 420ecbb

Please sign in to comment.