Skip to content

refactor: Move caching check #41

refactor: Move caching check

refactor: Move caching check #41

Workflow file for this run

on:
push:
env:
CI: "true"
jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup dotnet
uses: actions/setup-dotnet@v4
with:
dotnet-version: |
9.0.x
- name: Cache NuGet Packages
uses: actions/cache@v4
with:
path: ~/.nuget/packages
key: ${{ runner.os }}-nuget-${{ hashFiles('**/*.csproj') }}
restore-keys: |
${{ runner.os }}-nuget
- name: Build
run: dotnet build
- name: Test
run: dotnet test --no-build