Skip to content

refactor: make library compatible with net6 #181

refactor: make library compatible with net6

refactor: make library compatible with net6 #181

Workflow file for this run

name: CI
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
test-net6:
runs-on: ubuntu-latest
container: mcr.microsoft.com/dotnet/sdk:6.0
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Build
run: dotnet build src/Cnblogs.DashScope.AspNetCore -c Release
- name: Test
run: dotnet test test/Cnblogs.DashScope.Sdk.UnitTests -c Release
test-net8:
runs-on: ubuntu-latest
container: mcr.microsoft.com/dotnet/sdk:8.0
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Build
run: dotnet build src/Cnblogs.DashScope.AI -c Release
- name: Test
run: dotnet test test/Cnblogs.DashScope.AI.UnitTests -c Release