Skip to content

Commit

Permalink
restore CI.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
xzel23 committed Mar 31, 2024
1 parent f313f66 commit 6929445
Showing 1 changed file with 53 additions and 0 deletions.
53 changes: 53 additions & 0 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
name: CI

on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]

jobs:
build:
strategy:
matrix:
os: [ ubuntu-latest, windows-latest ]
runs-on: ${{ matrix.os }}
steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Setup Java
uses: actions/setup-java@v4
with:
java-version: 21
distribution: zulu

- name: Setup Gradle
uses: gradle/gradle-build-action@v3

- name: Execute Gradle build
run: ./gradlew build
id: compile
continue-on-error: false

qodana:
needs: build
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Setup Java
uses: actions/setup-java@v4
with:
java-version: 21
distribution: zulu

- name: Qodana Scan
id: qodana
uses: JetBrains/qodana-action@v2023.3.2
env:
QODANA_TOKEN: ${{ secrets.QODANA_TOKEN }}
continue-on-error: false

0 comments on commit 6929445

Please sign in to comment.