Skip to content

chore(deps): update dependency ch.qos.logback:logback-classic to v1.5.12 - autoclosed #377

chore(deps): update dependency ch.qos.logback:logback-classic to v1.5.12 - autoclosed

chore(deps): update dependency ch.qos.logback:logback-classic to v1.5.12 - autoclosed #377

Workflow file for this run

# Workflow for testing Spoon.
#
# Note that actions are specified by commit hash. This is to avoid the security
# risk of someone injecting malicious code into a release and then simply
# changing a tag.
name: tests
on:
pull_request:
branches:
- master
env:
JAVA_DISTRIBUTION: temurin
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
java: [11]
os: [ubuntu-latest]
env:
MAVEN_OPTS: -Djava.src.version=${{ matrix.java }} -Dhttp.keepAlive=false -Dmaven.wagon.http.pool=false
name: Tests with Java ${{ matrix.java }} on ${{ matrix.os }}
steps:
- name: Disable Git's autocrlf
run: git config --global core.autocrlf false
- uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3
- uses: actions/setup-java@5ffc13f4174014e2d4d4572b3d74c3fa61aeb2c2 # v3.11.0
with:
java-version: ${{ matrix.java }}
distribution: ${{ env.JAVA_DISTRIBUTION }}
- name: Get date for cache # see https://github.com/actions/cache README
id: get-date
run: echo "::set-output name=date::$(/bin/date -u "+%Y%m%d")"
shell: bash
- name: Use Maven dependency cache
uses: actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8 # v3.3.1
with:
path: ~/.m2/repository
key: ${{ runner.os }}-${{ steps.get-date.outputs.date }}-${{ hashFiles('**/pom.xml') }}
restore-keys: ${{ runner.os }}-maven-
- name: Use silent log config
run: mv chore/logback.xml src/test/resources/
- name: Build
run: |
mvn -B test-compile
- name: Fetch final dependencies
# this is a hack to download the final test dependencies required to actually run the tests
run: timeout 20 mvn -B test || echo "Done fetching dependencies"
shell: bash
- name: Test
run:
mvn test
- name: print run tests
run: cat testResults.spoon