Skip to content

Rework architecture

Rework architecture #2

Workflow file for this run

name: CI
on:
pull_request:
branches: [ main ]
push:
branches: [ main ]
jobs:
build-and-test:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup .NET
uses: actions/setup-dotnet@v4
with:
global-json-file: global.json
- name: Install PowerShell
run: |
sudo apt-get update
sudo apt-get install -y wget apt-transport-https software-properties-common
wget -q "https://packages.microsoft.com/config/ubuntu/$(lsb_release -rs)/packages-microsoft-prod.deb"
sudo dpkg -i packages-microsoft-prod.deb
sudo apt-get update
sudo apt-get install -y powershell
- name: Install required PowerShell modules
shell: pwsh
run: |
Install-PSResource -Name ChangelogManagement -Force -Scope CurrentUser
- name: Run build script
shell: pwsh
run: |
.\build.ps1 -Configuration Release -Clean -Test -Verbose
- name: Upload test results
uses: actions/upload-artifact@v4
if: always()
with:
name: test-results
path: |
TestResults/**/*
- name: Upload build artifacts
uses: actions/upload-artifact@v4
if: success()
with:
name: build-artifacts
path: |
output/databricks-extension