Files
floci/.github/workflows/ci.yml
T
TiM f3c9314114 chore(ci): CI hygiene batch (concurrency, timeouts, action pinning, Dependabot) (#375)
* chore(ci): CI hygiene batch (concurrency, timeouts, action pinning, Dependabot)

Rework of #350 with release-related changes removed per maintainer
feedback on #348 (semantic-release intentionally disabled while main
stabilizes).

What's included:
- Concurrency groups on all workflows (cancel superseded runs)
- timeout-minutes on all jobs (prevent stuck builds)
- SHA-pinned third-party actions (supply chain hardening)
- Dependabot config for Maven deps + GitHub Actions
- CODEOWNERS routing CI/release paths to @hectorvent
- SECURITY.md with private vulnerability reporting instructions

What's NOT included (intentionally):
- semver.yml changes (semantic-release on main)
- .releaserc.json changes (main branch addition)

* chore: switch Dependabot schedule from weekly to monthly
2026-04-12 19:56:28 -05:00

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@v4
- uses: actions/setup-java@v4
with:
java-version: '25'
distribution: 'temurin'
cache: maven
- name: Run tests
run: mvn test -B