diff options
author | Olivier Lamy <olamy@apache.org> | 2022-04-11 14:11:45 +1000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-04-11 14:11:45 +1000 |
commit | 6f4b08e4ad279dcf77faa8034f3e3983e3afde32 (patch) | |
tree | 48d0adaec669ca50e26505437377b645afd8323c /.github/workflows/maven.yml | |
parent | eb489a1deedf3366325922b29473c8b2302f9fce (diff) | |
download | archiva-6f4b08e4ad279dcf77faa8034f3e3983e3afde32.tar.gz archiva-6f4b08e4ad279dcf77faa8034f3e3983e3afde32.zip |
add gh action, dependabot and release-drafter and get rid of travis (#65)
* add gh action, dependabot and release-drafter and get rid of travis
* move owasp check in a separate profile
Signed-off-by: Olivier Lamy <olamy@apache.org>
Diffstat (limited to '.github/workflows/maven.yml')
-rw-r--r-- | .github/workflows/maven.yml | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml new file mode 100644 index 000000000..f7cccf536 --- /dev/null +++ b/.github/workflows/maven.yml @@ -0,0 +1,48 @@ +# 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: GitHub CI + +on: + push: + pull_request: + + +jobs: + build: + + strategy: + matrix: + os: [ubuntu-latest] + java: [8, 11] + fail-fast: false + + runs-on: ${{ matrix.os }} + + steps: + - name: Checkout + uses: actions/checkout@v2 + + - name: Set up JDK + uses: actions/setup-java@v2.3.1 + with: + distribution: temurin + java-version: ${{ matrix.java }} + cache: 'maven' + + - name: Build with Maven + run: mvn -e -B -V install -Pci-build -T2 |