Feature/bump dependencies #69
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This workflow will build a Java project with Maven, and cache/restore any dependencies to improve the workflow execution time | |
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-java-with-maven | |
name: Java CI with Maven | |
on: | |
push: | |
branches: [ "master" ] | |
pull_request: | |
branches: [ "master" ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
# Enable debugging to help resolve: | |
# https://github.com/federicocarboni/setup-ffmpeg/issues/19 | |
environment: debug | |
strategy: | |
matrix: | |
# Long term supported versions | |
java-version: [8, 11, 17, 21] | |
# TODO Should we test locales? The old travis setup did, see: | |
# https://github.com/bramp/ffmpeg-cli-wrapper/pull/55 | |
name: JDK ${{ matrix.java-version }} | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up FFmpeg | |
uses: FedericoCarboni/setup-ffmpeg@v3 | |
id: setup-ffmpeg | |
with: | |
ffmpeg-version: release | |
- name: Set up JDK ${{ matrix.java-version }} | |
uses: actions/setup-java@v3 | |
with: | |
java-version: ${{ matrix.java-version }} | |
distribution: 'temurin' | |
cache: maven | |
- name: Compile with Maven | |
run: mvn --batch-mode --update-snapshots compile | |
- name: Test with Maven, Package and Verify with Maven | |
run: mvn --batch-mode --update-snapshots verify -Dgpg.skip | |
# Optional: Uploads the full dependency graph to GitHub to improve the quality of Dependabot alerts this repository can receive | |
- name: Update dependency graph | |
uses: advanced-security/maven-dependency-submission-action@v4 | |
continue-on-error: true |