Skip to content

Commit

Permalink
tweak ci workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
sullis committed Jun 29, 2024
1 parent 0626278 commit 9caa1c2
Showing 1 changed file with 16 additions and 8 deletions.
24 changes: 16 additions & 8 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,24 +1,32 @@
name: CI

on:
push:
branches: [ main ]
workflow_dispatch:
pull_request:
branches: [ main ]
paths-ignore:
- '**/*.md'
branches:
- main
push:
paths-ignore:
- '**/*.md'
branches:
- main

jobs:
build:
strategy:
matrix:
java: [ '17' ]
runs-on: ubuntu-latest

java: [ '21' ]
os: [ 'ubuntu-latest' ]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- name: Set up JDK
uses: actions/setup-java@v4
with:
java-version: ${{ matrix.java }}
distribution: 'temurin'
- name: Run tests
run: mvn -B -ntp clean test
cache: 'maven'
- name: Build
run: mvn -ntp -B clean test

0 comments on commit 9caa1c2

Please sign in to comment.