Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 8 additions & 8 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,15 @@ jobs:
java: [ '8', '11', '17' ]
steps:
- name: Checkout Code
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: Setup JAVA
uses: actions/setup-java@v2
uses: actions/setup-java@v3
with:
distribution: "temurin"
java-version: ${{ matrix.java }}

- uses: actions/cache@v2
- uses: actions/cache@v3
with:
path: |
~/.m2/repository
Expand All @@ -43,15 +43,15 @@ jobs:
run: ./mvnw --batch-mode --no-transfer-progress --show-version --settings .github/maven/settings.xml -Pcompat-logback surefire:test

- name: Upload Test Reports to Github
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
if: ${{ always() }}
with:
name: test-reports-${{ matrix.java }}
path: '**/target/surefire-reports/**'
if-no-files-found: ignore

- name: Upload Test Coverage to Codecov
uses: codecov/codecov-action@v2
uses: codecov/codecov-action@v3
if: matrix.java == '8'
with:
files: target/site/jacoco/jacoco.xml
Expand All @@ -64,12 +64,12 @@ jobs:
if: github.event_name == 'push' && github.repository == 'logfellow/logstash-logback-encoder' && github.ref == 'refs/heads/main' && startsWith(github.event.commits[0].message, '[release]')
steps:
- name: Checkout Code
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
ref: main

- name: Setup JAVA
uses: actions/setup-java@v2
uses: actions/setup-java@v3
with:
distribution: "temurin"
java-version: 8
Expand All @@ -85,7 +85,7 @@ jobs:
.github/workflows/steps/setup-git.sh
git switch main

- uses: actions/cache@v2
- uses: actions/cache@v3
with:
path: |
~/.m2/repository
Expand Down
9 changes: 5 additions & 4 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,20 +22,21 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: setup JDK
uses: actions/setup-java@v1
uses: actions/setup-java@v3
with:
distribution: "temurin"
java-version: 8

- name: Initialize CodeQL
uses: github/codeql-action/init@v1
uses: github/codeql-action/init@v2
with:
languages: ${{ matrix.language }}

- name: build
run: ./mvnw --batch-mode --no-transfer-progress --show-version --settings .github/maven/settings.xml package

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v1
uses: github/codeql-action/analyze@v2