Refactored main menu fully, all done. Cotlim plz test and confirm thi… #1
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: .NET Lint | |
| on: | |
| push: | |
| branches: ["master"] | |
| pull_request: | |
| branches: ["master"] | |
| jobs: | |
| dotnet-lint: | |
| runs-on: windows-latest | |
| env: | |
| TargetFramework: net8.0 | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| - name: Setup .NET | |
| uses: actions/setup-dotnet@v4 | |
| with: | |
| dotnet-version: 8.0.x | |
| - name: Restore dependencies | |
| run: dotnet restore | |
| - name: Download tModLoader | |
| run: | | |
| curl -s -L https://github.com/tModLoader/tModLoader/releases/latest/download/tModLoader.zip -o tModLoader.zip | |
| - name: Extract tModLoader | |
| run: | | |
| unzip -q -o tModLoader.zip -d ../tModLoader | |
| rm tModLoader.zip | |
| - name: Create tModLoader.targets | |
| shell: bash | |
| run: | | |
| cat >> ../tModLoader.targets << EOF | |
| <Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | |
| <Import Project="tModLoader\tMLMod.targets" /> | |
| </Project> | |
| EOF | |
| - name: Lint | |
| run: dotnet format style ModReloader.sln --verify-no-changes |