Skip to content

fix(jobs): add Hangfire.InMemory to central package management #74

fix(jobs): add Hangfire.InMemory to central package management

fix(jobs): add Hangfire.InMemory to central package management #74

Workflow file for this run

name: CI
on:
push:
branches: [master]
pull_request:
branches: [master]
permissions:
contents: read
# Cancel superseded runs for the same ref to save CI minutes.
concurrency:
group: ci-${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
build:
name: build · test · format
runs-on: ubuntu-latest
env:
DOTNET_NOLOGO: true
DOTNET_CLI_TELEMETRY_OPTOUT: true
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
NUGET_PACKAGES: ${{ github.workspace }}/.nuget/packages
steps:
- uses: actions/checkout@v6
- name: Setup .NET (8 + 9)
uses: actions/setup-dotnet@v5
with:
dotnet-version: |
8.0.x
9.0.x
- name: Cache NuGet packages
uses: actions/cache@v5
with:
path: ${{ github.workspace }}/.nuget/packages
key: ${{ runner.os }}-nuget-${{ hashFiles('**/Directory.Packages.props') }}
restore-keys: |
${{ runner.os }}-nuget-
- name: Restore
run: dotnet restore NeoReports.sln
- name: Build
run: dotnet build NeoReports.sln --configuration Release --no-restore
- name: Test
run: dotnet test NeoReports.sln --configuration Release --no-build --verbosity normal
- name: Format (verify)
run: dotnet format NeoReports.sln --verify-no-changes --no-restore