diff --git a/.github/dependabot.yml b/.github/dependabot.yml index dc11841..a56799a 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -3,7 +3,7 @@ updates: - package-ecosystem: "maven" directory: "/" schedule: - interval: "weekly" + interval: "monthly" open-pull-requests-limit: 3 ignore: # Keep student examples pinned to the intentionally documented release. @@ -16,9 +16,10 @@ updates: - package-ecosystem: "github-actions" directory: "/" schedule: - interval: "weekly" + interval: "monthly" open-pull-requests-limit: 3 groups: github-actions: patterns: - "*" + diff --git a/.github/workflows/verify-central.yml b/.github/workflows/verify-central.yml index c5d684d..9642a36 100644 --- a/.github/workflows/verify-central.yml +++ b/.github/workflows/verify-central.yml @@ -2,8 +2,14 @@ name: Verify Maven Central dependency on: pull_request: + paths: + - 'pom.xml' + - '.github/workflows/verify-central.yml' push: branches: [main] + paths: + - 'pom.xml' + - '.github/workflows/verify-central.yml' workflow_dispatch: permissions: diff --git a/README.md b/README.md index dcfbf2f..441675c 100644 --- a/README.md +++ b/README.md @@ -1,8 +1,9 @@ # Getting Started with Cortex4J -![Java 21+](https://img.shields.io/badge/Java-21%2B-blue) -![Version 0.2.0](https://img.shields.io/badge/version-0.2.0-green) -[![Java CI](https://github.com/javiergs/cortex4j-getting-started/actions/workflows/java-ci.yml/badge.svg)](https://github.com/javiergs/cortex4j-getting-started/actions/workflows/java-ci.yml) +[![Java 21+](https://img.shields.io/badge/Java-21%2B-blue)](https://adoptium.net/temurin/releases/?version=21) +[![API version 0.2.0](https://img.shields.io/badge/API-0.2.0-green)](https://central.sonatype.com/artifact/com.javiergs/cortex4j/0.2.0) +[![Java CI](https://github.com/javiergs/cortex4j-getting-started/actions/workflows/java-ci.yml/badge.svg?branch=main)](https://github.com/javiergs/cortex4j-getting-started/actions/workflows/java-ci.yml) +[![Javadoc](https://img.shields.io/badge/docs-Javadoc-blue)](https://javiergs.github.io/cortex4j-getting-started/javadoc/) **Cortex4J** is a Java library for accessing EMOTIV headset data. Use this repository to explore device status, performance metrics, EEG, motion, and band-power streams with Java 21 and Maven. @@ -59,7 +60,7 @@ Never commit or share credentials, participant recordings, or generated build di ## Build checks -The public **Java CI** workflow runs `mvn clean verify` with Java 21. The separate **Verify Maven Central dependency** workflow compiles with an isolated empty Maven cache to check that the published Cortex4J dependency resolves independently. Neither workflow requires EMOTIV credentials or tests headset connectivity. +The public **Java CI** workflow runs `mvn clean verify` with Java 21. The separate **Verify Maven Central dependency** workflow runs on demand and when the POM or validation workflow changes. It compiles with an isolated empty Maven cache to check that the published Cortex4J dependency resolves independently. Neither workflow requires EMOTIV credentials or tests headset connectivity. ## Troubleshooting