mirror of
https://github.com/floci-io/floci.git
synced 2026-11-23 06:00:46 -05:00
* chore: new docker image tag and compatibility * chore: change nightly workflow schedule time
40 lines
672 B
YAML
40 lines
672 B
YAML
name: CI
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- main
|
|
paths:
|
|
- 'src/**'
|
|
- 'pom.xml'
|
|
- '.github/workflows/ci.yml'
|
|
pull_request:
|
|
paths:
|
|
- 'src/**'
|
|
- 'pom.xml'
|
|
- '.github/workflows/ci.yml'
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
concurrency:
|
|
group: ${{ github.workflow }}-${{ github.ref }}
|
|
cancel-in-progress: true
|
|
|
|
jobs:
|
|
test:
|
|
name: Build and Test
|
|
runs-on: ubuntu-latest
|
|
timeout-minutes: 20
|
|
steps:
|
|
- uses: actions/checkout@v6
|
|
|
|
- uses: actions/setup-java@v5
|
|
with:
|
|
java-version: '25'
|
|
distribution: 'temurin'
|
|
cache: maven
|
|
|
|
- name: Run tests
|
|
run: mvn test -B
|