Skip to content
This repository has been archived by the owner on Apr 14, 2024. It is now read-only.

Added file response and upload functionality and removed the Blazor UI #61

Added file response and upload functionality and removed the Blazor UI

Added file response and upload functionality and removed the Blazor UI #61

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: [ "master", "develop" ]
pull_request:
branches: [ "master", "develop" ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: harmon758/postgresql-action@v1
with:
postgresql db: HashSlinger_Dev
postgresql user: postgres
postgresql password: postgres
- uses: actions/checkout@v3
- name: Setup .NET
uses: actions/setup-dotnet@v3
with:
dotnet-version: 7.0.x
- uses: actions/cache@v3
with:
path: ~/.nuget/packages
key: ${{ runner.os }}-nuget-${{ hashFiles('**/*.csproj') }}
restore-keys: |
${{ runner.os }}-nuget
- name: Restore dependencies
run: dotnet restore HashSlinger.sln
- name: Build
run: dotnet build --no-restore HashSlinger.sln
- name: Test
run: dotnet test --no-build --verbosity normal HashSlinger.sln