Skip to content

Use Utc.now to avoid test failures in certain timezones #102

Use Utc.now to avoid test failures in certain timezones

Use Utc.now to avoid test failures in certain timezones #102

Workflow file for this run

name: Build and Test
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
dotnet-version: ['net6.0', 'net7.0', 'net8.0']
steps:
- uses: actions/checkout@v3
- name: Setup .NET
uses: actions/setup-dotnet@v3
with:
dotnet-version: |
6.0.x
7.0.x
8.0.x
- name: Restore dependencies
run: dotnet restore
- name: Build
run: dotnet build --no-restore --framework ${{ matrix.dotnet-version }}
- name: Test
run: dotnet test --no-build --framework ${{ matrix.dotnet-version }} --verbosity normal