Skip to content

Bump oxsecurity/megalinter/flavors/java from 10.0.0 to 10.1.0 #1128

Bump oxsecurity/megalinter/flavors/java from 10.0.0 to 10.1.0

Bump oxsecurity/megalinter/flavors/java from 10.0.0 to 10.1.0 #1128

Workflow file for this run

# Builds the project with Java 8.
name: Java 8 build
on: [push, pull_request]
permissions:
contents: read
jobs:
build:
runs-on: ubuntu-latest
env:
coveralls_repo_token: ${{ secrets.COVERALLS_REPO_TOKEN }}
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
persist-credentials: false
- name: Set up JDK 8
uses: actions/setup-java@b6effb05e454b25005698d916606bdc6ffcbf961 # v5.7.0
with:
java-version: '8'
distribution: 'adopt'
- name: Build with Maven
run: mvn -B --file pom.xml package jacoco:report
- name: Coveralls
uses: coverallsapp/github-action@8d6379e14d29928660c4ba802d8e85393440b329 # v2.3.8
if: github.event_name != 'pull_request'
with:
base-path: src/main/java
# The file is optional, but the documentation says it's better to specify it.
file: target/site/jacoco/jacoco.xml