Move all SPT base configuration into DI #1228
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Tests | |
| on: | |
| push: | |
| branches: ["main"] | |
| pull_request: | |
| branches: ["*"] | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| with: | |
| lfs: false | |
| - name: Configure Git LFS | |
| run: | | |
| git lfs install | |
| git config -f .lfsconfig lfs.url https://spt-lfs.sp-tarkov.com/sp-tarkov/server-csharp | |
| git config -f .lfsconfig lfs.locksverify false | |
| git lfs pull | |
| - name: Setup .NET | |
| uses: actions/setup-dotnet@v5 | |
| with: | |
| dotnet-version: 10.0 | |
| - name: Restore Dependencies | |
| run: dotnet restore | |
| - name: Build | |
| run: dotnet build --configuration Release --no-restore | |
| - name: Run Tests | |
| run: dotnet test --configuration Release --no-restore --verbosity normal |