Skip to content

chore(gh-3): add release creation through workflows #15

chore(gh-3): add release creation through workflows

chore(gh-3): add release creation through workflows #15

Workflow file for this run

name: "Validate PR"
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
on:
pull_request:
branches:
- main
permissions:
id-token: write
contents: read
jobs:
# ====================================================================
# C# tests
# ====================================================================
tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- id: setup
uses: ./.github/actions/dotnet-setup
name: setup and configure dotnet
with:
dotnet-versions: 8.x
- name: Restore NuGet packages
run: dotnet restore
- name: Build solution
run: dotnet build --no-restore
- name: Run unit tests
run: dotnet test src/unit-tests/unit-tests.csproj
--no-build
--logger "trx;LogFileName=unit-tests.trx"
- name: Run integration tests
run: dotnet test src/integration-tests/integration-tests.csproj
--no-restore
--logger "trx;LogFileName=integration-tests.trx"
- name: Publish Test Results
uses: actions/upload-artifact@v4
with:
name: test-results
path: '**/*.trx'