Skip to content

Merge branch 'main' of github.com:team-nameless/msoc-web #63

Merge branch 'main' of github.com:team-nameless/msoc-web

Merge branch 'main' of github.com:team-nameless/msoc-web #63

Workflow file for this run

name: Sanity check
on:
workflow_dispatch:
push:
branches:
- main
pull_request_target:
branches:
- main
types: [opened, reopened, synchronize, assigned]
jobs:
build-and-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-dotnet@v4
with:
dotnet-version: 8.x
- name: Provide internal config file
shell: bash
env:
SUPER_CONFIG: ${{ secrets.CONFIG }}
run: |
echo "$SUPER_CONFIG" > /home/runner/work/msoc-web/msoc-web/MSOC.Backend/config.json
- name: Restore NuGet packages
run: dotnet restore
- name: Run tests
run: dotnet test MSOC.Backend.Tests -c Release --nologo --no-restore