This is an automated email from the ASF dual-hosted git repository.
lewismc pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/any23.git
The following commit(s) were added to refs/heads/master by this push:
new ad883d8 [ANY23-456] Add Github Action against Any23 pull requests
new f8a476a Merge pull request #163 from lewismc/ANY23-456
ad883d8 is described below
commit ad883d8bf9c1fc3733d06f425698b768bfe10a82
Author: Lewis John McGibbney <[email protected]>
AuthorDate: Sun Oct 11 18:59:33 2020 -0700
[ANY23-456] Add Github Action against Any23 pull requests
---
.github/pull_request_template.md | 13 ++++++++++++
.github/workflows/master-build.yml | 41 ++++++++++++++++++++++++++++++++++++++
2 files changed, 54 insertions(+)
diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md
new file mode 100644
index 0000000..2872192
--- /dev/null
+++ b/.github/pull_request_template.md
@@ -0,0 +1,13 @@
+Thanks for your contribution to [Apache Any23](https://any23.apache.org/)!
Your help is appreciated!
+
+Before opening the pull request, please verify that
+* there is an open issue on the [Any23 issue
tracker](https://issues.apache.org/jira/projects/ANY23) which describes the
problem or the improvement. We cannot accept pull requests without an issue
because the change wouldn't be listed in the release notes.
+* the issue ID (`ANY23-XXXX`)
+ - is referenced in the title of the pull request
+ - and placed in front of your commit messages surrounded by square brackets
(`[ANY23-XXXX] Issue or pull request title`)
+* commits are squashed into a single one (or few commits for larger changes)
+* Java source code follows [formatter-maven-plugin formatting
rules](https://code.revelc.net/formatter-maven-plugin/)
+* Any23 is successfully built and unit tests pass by running `mvn clean test`
+* there should be no conflicts when merging the pull request branch into the
*recent* master branch. If there are conflicts, please try to rebase the pull
request branch on top of a freshly pulled master branch.
+
+We will be able to faster integrate your pull request if these conditions are
met. If you have any questions how to fix your problem or about using Any23 in
general, please sign up for the [Any23 mailing
list](http://any23.apache.org/mailing-lists.html). Thanks!
diff --git a/.github/workflows/master-build.yml
b/.github/workflows/master-build.yml
new file mode 100644
index 0000000..97b699b
--- /dev/null
+++ b/.github/workflows/master-build.yml
@@ -0,0 +1,41 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+name: master pr build
+
+on:
+ push:
+ branches: [ master ]
+ pull_request:
+ branches: [ master ]
+
+
+jobs:
+ build:
+ runs-on: ubuntu-latest
+ strategy:
+ matrix:
+ java: [ '1.8' ]
+
+ steps:
+ - uses: actions/checkout@v2
+ - name: Set up JDK ${{ matrix.java }}
+ uses: actions/setup-java@v1
+ with:
+ java-version: ${{ matrix.java }}
+ - name: Build with Maven
+ run: mvn clean formatter:validate test