diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index c03e1c5..ae70f4d 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -1,10 +1,16 @@ -# This workflow will build a Java project with Maven, and cache/restore any dependencies to improve the workflow execution time -# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-java-with-maven - -# This workflow uses actions that are not certified by GitHub. -# They are provided by a third-party and are governed by -# separate terms of service, privacy policy, and support -# documentation. +# Copyright © 2010-2023 OddSource Code (license@oddsource.io) +# +# Licensed 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: Java CI with Maven @@ -21,15 +27,16 @@ jobs: steps: - uses: actions/checkout@v3 + - name: Set up JDK 17 uses: actions/setup-java@v3 with: java-version: '17' distribution: 'temurin' cache: maven + - name: Build with Maven run: mvn -B verify - # Optional: Uploads the full dependency graph to GitHub to improve the quality of Dependabot alerts this repository can receive - - name: Update dependency graph - uses: advanced-security/maven-dependency-submission-action@571e99aab1055c2e71a1e2309b9691de18d6b7d6 + - name: Maven Dependency Tree Dependency Submission + uses: advanced-security/maven-dependency-submission-action@v3.0.3 diff --git a/CHANGELOG.rst b/CHANGELOG.rst index b184399..1b8887f 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -8,6 +8,7 @@ Changelog - [MINOR] Reverted to ``maven-deploy-plugin`` - [MINOR] Updated the Enforcer configuration to require one of the four current LTS Java versions (1.8, 11, 17, and 21). +- [MINOR] Switch from Travis CI to GitHub Workflows 2.2 (2019-01-26) ----------------