Skip to content

7 feature user authentication and authorization #6

7 feature user authentication and authorization

7 feature user authentication and authorization #6

Workflow file for this run

# This workflow will build a .NET project
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-net
name: .NET
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup .NET
uses: actions/setup-dotnet@v4
with:
dotnet-version: 8.0.x
- name: Restore dependencies (GameLibrary)
run: dotnet restore
working-directory: GameLibrary
- name: Build (GameLibrary)
run: dotnet build --no-restore
working-directory: GameLibrary
- name: Restore dependencies (GameLibrary.Tests)
run: dotnet restore
working-directory: GameLibrary.Tests
- name: Test (GameLibrary.Tests)
run: dotnet test
working-directory: GameLibrary.Tests