Skip to content

Update to .NET 8.0 #579

Update to .NET 8.0

Update to .NET 8.0 #579

# Copyright (c) Omar Boukli-Hacene. All rights reserved.
# Distributed under an MIT-style license that can be
# found in the LICENSE file.
# SPDX-License-Identifier: MIT
name: Code style check
on:
pull_request:
branches:
- main
paths:
- src/**
- test/**
push:
branches:
- main
paths:
- src/**
- test/**
workflow_dispatch:
permissions: {}
jobs:
build:
name: Check .NET solution code style
runs-on: ubuntu-latest
env:
DOTNET_CLI_TELEMETRY_OPTOUT: true
DOTNET_NUGET_SIGNATURE_VERIFICATION: true
NUGET_PACKAGES: ${{ github.workspace }}/.nuget/packages
steps:
- name: Check out repository
uses: actions/checkout@v4
with:
persist-credentials: false
- name: Set up .NET SDK
uses: actions/setup-dotnet@v4
with:
cache: true
cache-dependency-path: |-
src/**/packages.lock.json
test/**/packages.lock.json
global-json-file: global.json
- name: Run dotnet format
run: >-
dotnet format
--verbosity quiet
--verify-no-changes