Skip to content

Build and Test

Build and Test #78

Workflow file for this run

name: "Build and Test"
on:
schedule:
- cron: "42 23 * * 3"
push:
branches: ["main"]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Setup .NET SDK
uses: actions/setup-dotnet@v4
with:
dotnet-version: '8.x'
- name: Restore dependencies
run: dotnet restore src/MemoryCacheExtensions.sln
- name: Build solution
run: dotnet build src/MemoryCacheExtensions.sln --no-restore
- name: Run all tests
run: dotnet test src/MemoryCacheExtensions.sln --no-build --verbosity normal