8000 ci: test in net6 · cnblogs/dashscope-sdk@1476be1 · GitHub
[go: up one dir, main page]

Skip to content

refactor: make library compatible with net6 #179

refactor: make library compatible with net6

refactor: make library compatible with net6 #179

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.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
0