Skip to content

Fix Code Scanning Alert #1 #7

Fix Code Scanning Alert #1

Fix Code Scanning Alert #1 #7

Workflow file for this run

name: Build Backend and Frontend
on:
pull_request:
branches:
- main
permissions:
contents: read
jobs:
build:
name: Build All Projects
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
project:
- SampleApp/BackEnd/BackEnd.csproj
- SampleApp/FrontEnd/FrontEnd.csproj
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Setup .NET
uses: actions/setup-dotnet@v4
with:
dotnet-version: '9.0.x'
- name: Restore dependencies
run: dotnet restore ${{ matrix.project }}
- name: Build project
run: dotnet build ${{ matrix.project }} --no-restore --configuration Release