Merge pull request #775 from ProjectStarlight/message #925
This file contains 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 | |
on: | |
push: | |
branches: [ "master" ] | |
pull_request: | |
branches: [ "master", "1.4.4" ] | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup .NET | |
uses: actions/setup-dotnet@v4 | |
with: | |
dotnet-version: 8.0.x | |
- name: Restore dependencies | |
run: dotnet restore | |
- name: Pull TML | |
run: | | |
cd .. | |
mkdir ./tmod | |
touch tModLoader.targets | |
echo '<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | |
<Import Project=".\tmod\tMLMod.targets" /> | |
</Project>' > tModLoader.targets | |
cd ./tmod | |
wget https://github.com/tModLoader/tModLoader/releases/latest/download/tModLoader.zip | |
unzip tModLoader.zip | |
cd .. | |
cd ./StarlightRiver | |
- name: Lint | |
run: dotnet format style StarlightRiver.sln --verify-no-changes |