Skip to content

Merge pull request #3 from antomys/main #1

Merge pull request #3 from antomys/main

Merge pull request #3 from antomys/main #1

Workflow file for this run

name: .NET Core
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup .NET
uses: actions/setup-dotnet@v4
with:
dotnet-version: '9.0.x'
- name: Install dependencies
run: dotnet restore
- name: Build
run: dotnet build --configuration Release --no-restore
test:
needs: build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup .NET 3.1
uses: actions/setup-dotnet@v4
with:
dotnet-version: '3.1.x'
- name: Setup .NET 9
uses: actions/setup-dotnet@v4
with:
dotnet-version: '9.x.x'
- name: Display .NET version
run: dotnet --list-sdks
- name: Test
run: |
cd ./SpanLinq.Tests/
dotnet test --verbosity normal /p:CollectCoverage=true /p:CoverletOutputFormat=opencover