Bump JetBrains/qodana-action from 2023.1.5 to 2023.2.7 #307
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
name: CI test | |
on: | |
push: | |
pull_request: | |
jobs: | |
code-smell: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: 'Qodana Scan' | |
uses: JetBrains/[email protected] | |
with: | |
linter: jetbrains/qodana-jvm | |
test: | |
runs-on: ${{ matrix.os }} | |
name: Build & Test - Java ${{ matrix.java }} on ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [ windows-latest, ubuntu-latest ] | |
java: [ 8, 17 ] | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup JDK | |
uses: actions/setup-java@v3 | |
with: | |
distribution: 'temurin' | |
java-version: ${{ matrix.java }} | |
- name: Build lib | |
run: ./gradlew assemble | |
- name: Check styling using Detekt | |
run: ./gradlew detekt --info | |
- name: Run tests | |
run: ./gradlew test --info |