Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update pr-validation.yml #458

Merged
merged 2 commits into from
Feb 20, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 9 additions & 9 deletions .github/workflows/pr-validation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,12 @@
# specific language governing permissions and limitations under the License.
#
name: Java CI - Code tests
on: [pull_request]
on:
pull_request:
permissions:
contents: read
actions: read
checks: write
env:
MAVEN_OPTS: >-
-Dmaven.artifact.threads=4
Expand All @@ -34,18 +39,13 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: 'Set up JDK 17'
uses: actions/setup-java@v3
uses: actions/setup-java@v4
with:
java-version: '17'
distribution: 'temurin'
- name: 'Cache Maven packages'
uses: actions/cache@v3
with:
path: ~/.m2
key: 'cache'
restore-keys: 'cache'
cache: 'maven'
- name: 'Build and test with Maven'
run: mvn verify
- name: 'Report test results'
Expand Down
16 changes: 0 additions & 16 deletions .travis.yml

This file was deleted.

Loading