mirror of
https://github.com/floci-io/floci.git
synced 2026-11-23 14:10:49 -05:00
Bumps [actions/checkout](https://github.com/actions/checkout) from 4 to 6. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/v4...v6) --- updated-dependencies: - dependency-name: actions/checkout dependency-version: '6' dependency-type: direct:production update-type: version-update:semver-major
46 lines
776 B
YAML
46 lines
776 B
YAML
name: CI
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- main
|
|
paths:
|
|
- 'src/**'
|
|
- 'pom.xml'
|
|
- '.mvn/**'
|
|
- 'mvnw'
|
|
- 'mvnw.cmd'
|
|
- '.github/workflows/ci.yml'
|
|
pull_request:
|
|
paths:
|
|
- 'src/**'
|
|
- 'pom.xml'
|
|
- '.mvn/**'
|
|
- 'mvnw'
|
|
- 'mvnw.cmd'
|
|
- '.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
|