Skip to content

Bump ch.qos.logback:logback-classic from 1.2.11 to 1.3.12 #5

Bump ch.qos.logback:logback-classic from 1.2.11 to 1.3.12

Bump ch.qos.logback:logback-classic from 1.2.11 to 1.3.12 #5

Workflow file for this run

name: CI
on:
push:
branches:
- master
- develop
pull_request:
types: [ opened, synchronize, reopened ]
jobs:
back-check-style:
name: ✒️ Стиль кода
runs-on: ubuntu-latest
steps:
- name: 📦 Checkout
uses: actions/checkout@v3
- name: ⚙ ️Set up JDK 18
uses: actions/setup-java@v3
with:
java-version: 18
distribution: 'temurin'
- name: 🗃 Cache Maven packages
uses: actions/cache@v3
with:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-check_style-${{ hashFiles('**/pom.xml') }}
restore-keys: |
${{ runner.os }}-maven-check_style-
- name: ✒️Check Style with Maven
run: mvn -B -U -T 1C clean validate -P checkstyle
install:
name: 🧩 Сборка проекта
needs: [back-check-style]
runs-on: ubuntu-latest
steps:
- name: 📦 Checkout
uses: actions/checkout@v3
- name: ⚙ ️Set up JDK 18
uses: actions/setup-java@v3
with:
java-version: 18
distribution: 'temurin'
- name: 🗃 Cache Maven packages
uses: actions/cache@v3
with:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-install-${{ hashFiles('**/pom.xml') }}
restore-keys: |
${{ runner.os }}-maven-install-
- name: 🧩 Build with Maven
run: mvn -B -U -T 1C clean install
sonar:
name: 📚 SonarCloud
needs: [install]
runs-on: ubuntu-latest
steps:
- name: 📦 Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis
- name: ⚙ ️Set up JDK 18
uses: actions/setup-java@v3
with:
java-version: 18
distribution: 'temurin'
- name: 🗃 Cache Maven packages
uses: actions/cache@v3
with:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-sonar-${{ hashFiles('**/pom.xml') }}
restore-keys: |
${{ runner.os }}-maven-sonar-
- name: 🗃 Cache SonarCloud packages
uses: actions/cache@v3
with:
path: ~/.sonar/cache
key: ${{ runner.os }}-sonar
restore-keys: ${{ runner.os }}-sonar
- name: 📚 Build and analyze with Sonar
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
run: mvn -B -U verify -P sonar