Skip to content

Commit

Permalink
Update build
Browse files Browse the repository at this point in the history
  • Loading branch information
caesar-ralf committed Feb 7, 2024
1 parent 9ea3e7c commit 26ee5f2
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 14 deletions.
13 changes: 7 additions & 6 deletions .github/workflows/maven.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# This workflow will build a Java project with Maven
# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-maven

name: Build with Maven
name: Java CI with Maven

on:
push:
Expand All @@ -11,19 +11,20 @@ on:

jobs:
build:
name: Build/Test

runs-on: ubuntu-latest

strategy:
matrix:
java: [ 8, 11, 17 ]
java: [ 8, 11, 17, 21 ]

steps:
- uses: actions/checkout@v2
- name: Set up JDK 1.8
uses: actions/setup-java@v2
- uses: actions/checkout@v4
- name: Set up JDK ${{ matrix.java }}
uses: actions/setup-java@v4
with:
distribution: 'adopt'
java-version: ${{ matrix.java }}
- name: Build with Maven
run: mvn -B verify
run: mvn -B clean verify
11 changes: 3 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# futuristic-feline

![Build status](https://github.com/spotify/futuristic-feline/actions/workflows/maven.yml/badge.svg)
[![Maven Central](https://maven-badges.herokuapp.com/maven-central/com.spotify/futuristic-feline/badge.svg)](https://maven-badges.herokuapp.com/maven-central/com.spotify/futuristic-feline)

![](images/future-is-ours.jpg)

futuristic-feline is a library for detecting blocking Java futures at runtime. It is inspired by the excellent [BlockHound](https://github.com/reactor/BlockHound).
Expand Down Expand Up @@ -32,14 +35,6 @@ To get started, add a dependency on:
</dependency>
```

## Build status

![Build status](https://github.com/spotify/futuristic-feline/actions/workflows/maven.yml/badge.svg)

## Maven central

[![Maven Central](https://maven-badges.herokuapp.com/maven-central/com.spotify/futuristic-feline/badge.svg)](https://maven-badges.herokuapp.com/maven-central/com.spotify/futuristic-feline)

## Metrics integration

It is often useful to create a metric for the rate of blocking calls. At Spotify we have built this into our service framework using [semantic-metrics](https://github.com/spotify/semantic-metrics).
Expand Down

0 comments on commit 26ee5f2

Please sign in to comment.