Skip to content
Permalink
Browse files
[ANY23-456] Add Github Action against Any23 pull requests
  • Loading branch information
lewismc committed Oct 12, 2020
1 parent 7e0eb59 commit ad883d8bf9c1fc3733d06f425698b768bfe10a82
Show file tree
Hide file tree
Showing 2 changed files with 54 additions and 0 deletions.
@@ -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!
@@ -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

0 comments on commit ad883d8

Please sign in to comment.