Skip to content

Merge pull request #15 from InCerryGit/ls_readme #38

Merge pull request #15 from InCerryGit/ls_readme

Merge pull request #15 from InCerryGit/ls_readme #38

Workflow file for this run

name: Build&Test
on:
push:
branches: [ dev, main, master, '**' ]
pull_request:
branches: [ dev, main, master ]
jobs:
linux:
name: build and test on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ ubuntu-latest ]
steps:
- uses: actions/checkout@v2
- name: Setup .NET SDK 6.0.x and 7.0.x
uses: actions/setup-dotnet@v3
with:
dotnet-version: |
7.0.x
6.0.x
- name: Show dotnet Version
run: |
dotnet --list-sdks
dotnet --list-runtimes
- name: Show docker info
run: |
docker ps -a
- name: Build with dotnet
run: |
dotnet build --configuration Release /home/runner/work/FasterKvCache/FasterKvCache/FasterKv.Cache.sln
- name: Run tests on net7.0
run: |
dotnet test --framework=net7.0 /home/runner/work/FasterKvCache/FasterKvCache/tests/FasterKv.Cache.Core.Tests/FasterKv.Cache.Core.Tests.csproj