Skip to content

Commit

Permalink
Fix CI
Browse files Browse the repository at this point in the history
  • Loading branch information
rafaelldi committed Dec 1, 2023
1 parent 0855dc4 commit 2134893
Show file tree
Hide file tree
Showing 5 changed files with 46 additions and 8 deletions.
4 changes: 2 additions & 2 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ updates:
- package-ecosystem: "gradle"
directory: "/"
schedule:
interval: "daily"
interval: "weekly"
# Maintain dependencies for GitHub Actions
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "daily"
interval: "weekly"
36 changes: 30 additions & 6 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,12 @@ jobs:
with:
gradle-home-cache-cleanup: true

# Setup .NET 8 environment for the next steps
- name: Setup .NET
uses: actions/setup-dotnet@v3
with:
dotnet-version: '8.x'

# Set environment variables
- name: Export Properties
id: properties
Expand Down Expand Up @@ -111,6 +117,12 @@ jobs:
distribution: zulu
java-version: 17

# Setup .NET 8 environment for the next steps
- name: Setup .NET
uses: actions/setup-dotnet@v3
with:
dotnet-version: '8.x'

# Setup Gradle
- name: Setup Gradle
uses: gradle/gradle-build-action@v2
Expand All @@ -129,12 +141,6 @@ jobs:
name: tests-result
path: ${{ github.workspace }}/build/reports/tests

# Upload the Kover report to CodeCov
- name: Upload Code Coverage Report
uses: codecov/codecov-action@v3
with:
files: ${{ github.workspace }}/build/reports/kover/report.xml

# Run Qodana inspections and provide report
inspectCode:
name: Inspect code
Expand Down Expand Up @@ -164,6 +170,12 @@ jobs:
distribution: zulu
java-version: 17

# Setup .NET 8 environment for the next steps
- name: Setup .NET
uses: actions/setup-dotnet@v3
with:
dotnet-version: '8.x'

# Run Qodana inspections
- name: Qodana - Code Inspection
uses: JetBrains/qodana-action@v2023.2.8
Expand Down Expand Up @@ -195,6 +207,12 @@ jobs:
distribution: zulu
java-version: 17

# Setup .NET 8 environment for the next steps
- name: Setup .NET
uses: actions/setup-dotnet@v3
with:
dotnet-version: '8.x'

# Setup Gradle
- name: Setup Gradle
uses: gradle/gradle-build-action@v2
Expand Down Expand Up @@ -242,6 +260,12 @@ jobs:
distribution: zulu
java-version: 17

# Setup .NET 8 environment for the next steps
- name: Setup .NET
uses: actions/setup-dotnet@v3
with:
dotnet-version: '8.x'

# Remove old release drafts by using the curl request for the available releases with a draft flag
- name: Remove Old Release Drafts
env:
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,12 @@ jobs:
with:
gradle-home-cache-cleanup: true

# Setup .NET 8 environment for the next steps
- name: Setup .NET
uses: actions/setup-dotnet@v3
with:
dotnet-version: '8.x'

# Set environment variables
- name: Export Properties
id: properties
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/run-ui-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,12 @@ jobs:
with:
gradle-home-cache-cleanup: true

# Setup .NET 8 environment for the next steps
- name: Setup .NET
uses: actions/setup-dotnet@v3
with:
dotnet-version: '8.x'

# Run IDEA prepared for UI testing
- name: Run IDE
run: ${{ matrix.runIde }}
Expand Down
2 changes: 2 additions & 0 deletions qodana.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,5 @@ exclude:
- name: All
paths:
- .qodana
- protocol
- src/main/kotlin/com/intellij/aspire/generated

0 comments on commit 2134893

Please sign in to comment.