Skip to content

#135 implement the hero section of the net conf website #325

#135 implement the hero section of the net conf website

#135 implement the hero section of the net conf website #325

Workflow file for this run

name: Build and Test
on:
push:
branches:
- main
- master
- feature*
paths:
- "src/**"
- "tests/**"
- "dotnetcameroon.slnx"
- ".github/workflows/build-and-test.yml"
pull_request:
branches:
- main
- master
- feature*
paths:
- "src/**"
- "tests/**"
- "dotnetcameroon.slnx"
- ".github/workflows/build-and-test.yml"
jobs:
build-and-test:
runs-on: ubuntu-latest
name: Build And Test Job
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Setup .NET
uses: actions/setup-dotnet@v1
with:
dotnet-version: 9.x
- name: Get Cached NuGet Packages
uses: actions/cache@v4
with:
path: ~/.nuget/packages
key: ${{ runner.os }}-nuget-${{ hashFiles('**/*.csproj', '**/*.props') }}
restore-keys: ${{ runner.os }}-nuget-
- name: Restore dependencies
run: dotnet restore
- name: Check code formatting
run: dotnet format --verify-no-changes --verbosity diagnostic
- name: Build solution
run: dotnet build --configuration Release --no-restore
- name: Run tests
run: dotnet test