Add initial github workflow.

This commit is contained in:
Marco Vermeulen
2021-06-16 21:37:04 +01:00
parent 2b7b15793b
commit 49b6b9cd63
4 changed files with 40 additions and 0 deletions

1
.github/CODEOWNERS vendored Normal file
View File

@@ -0,0 +1 @@
* @sdkman/sdkman-cli

9
.github/auto_assign.yml vendored Normal file
View File

@@ -0,0 +1,9 @@
---
addReviewers: true
addAssignees: author
reviewers:
- marc0der
- helpermethod
numberOfReviewers: 0

12
.github/workflows/action.yml vendored Normal file
View File

@@ -0,0 +1,12 @@
---
# yamllint disable-line rule:truthy
name: 'Auto Assign'
on: pull_request_target
jobs:
add-reviews:
runs-on: ubuntu-latest
steps:
- uses: kentaro-m/auto-assign-action@v1.1.2
with:
configuration-path: ".github/auto_assign.yml"

18
.github/workflows/run.yml vendored Normal file
View File

@@ -0,0 +1,18 @@
name: Run migration
on: pull_request
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout source code
uses: actions/checkout@v2
- name: Set up JDK 11.0.11
uses: actions/setup-java@v1
with:
java-version: 11.0.8
- name: Run with Gradle
run: ./gradlew clean test --info
- name: Build artifacts
run: ./gradlew -Penv=production clean assemble