Skip to content

chore(deps): bump org.apache.maven.plugins:maven-surefire-plugin (#80) #882

chore(deps): bump org.apache.maven.plugins:maven-surefire-plugin (#80)

chore(deps): bump org.apache.maven.plugins:maven-surefire-plugin (#80) #882

Workflow file for this run

# Quickstart for GitHub Actions
# https://docs.github.com/en/actions/quickstart
name: Fast CI
on: [ push, pull_request, workflow_dispatch ]
jobs:
test:
# https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#choosing-github-hosted-runners
runs-on: ${{ matrix.os }}
timeout-minutes: 5
name: fast test on OS ${{ matrix.os }}
strategy:
matrix:
os: [ ubuntu-latest, windows-latest ]
fail-fast: false
max-parallel: 64
steps:
- uses: actions/checkout@v3
- name: setup Java 19
uses: actions/setup-java@v3
with:
java-version: 19
distribution: temurin
# only first java setup need enable cache
cache: maven
- name: build and test with Java 19
run: ./mvnw -V --no-transfer-progress clean install
- name: setup Java 8
uses: actions/setup-java@v3
with:
java-version: 8
distribution: zulu
- name: test with Java 8
run: ./mvnw -V --no-transfer-progress surefire:test
- name: 'remove self maven install files(OS: *nix)'
run: rm -rf $HOME/.m2/repository/io/foldright/cffu*
# https://docs.github.com/en/actions/learn-github-actions/expressions
# https://docs.github.com/en/actions/learn-github-actions/variables#detecting-the-operating-system
if: runner.os != 'Windows'
- name: 'remove self maven install files(OS: Windows)'
run: Remove-Item -Recurse -Force $home/.m2/repository/io/foldright/cffu*
if: runner.os == 'Windows'