Skip to content

Merge pull request #100 from iquelli/game-start-time #16

Merge pull request #100 from iquelli/game-start-time

Merge pull request #100 from iquelli/game-start-time #16

name: Java CI
on:
push:
branches:
- main
- master
pull_request:
branches:
- main
- master
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest]
steps:
- uses: actions/checkout@v3
- name: Set up JDK 17
uses: actions/setup-java@v3
with:
java-version: '17'
distribution: 'temurin'
cache: 'maven'
- name: Set up Maven
uses: stCarolas/[email protected]
with:
maven-version: 3.8.6
- name: Check formatting
run: mvn spotless:check
- name: Compile code
run: mvn clean install