Skip to content

fix: rename CodeAnalyzer to ProjectAnalyzer #18

fix: rename CodeAnalyzer to ProjectAnalyzer

fix: rename CodeAnalyzer to ProjectAnalyzer #18

Workflow file for this run

name: Kodify CI/CD
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
env:
DOTNET_VERSION: '8.0.x'
jobs:
build:
name: Build, Test & Package
runs-on: ubuntu-latest
permissions:
checks: write
actions: read
contents: read
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup .NET Core
uses: actions/setup-dotnet@v3
with:
dotnet-version: ${{ env.DOTNET_VERSION }}
- name: Restore dependencies
run: dotnet restore
- name: Build solution
run: dotnet build --configuration Release --no-restore
- name: Run tests
run: dotnet test Kodify.Tests/Tests.csproj --configuration Release --logger "trx;LogFileName=TestResults.trx" --results-directory ./TestResults
- name: Publish test results
if: ${{ !github.event.pull_request.head.repo.fork }}
uses: dorny/test-reporter@v1
with:
name: Test Results
path: "TestResults/**/*.trx"
reporter: dotnet-trx
- name: Upload build artifacts
uses: actions/upload-artifact@v4
with:
name: kodify-build
path: |
**/bin/Release/net8.0/*
**/publish/