Hotfix 16.01.2026 часть 2 #6693
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: YAML Linter | |
| on: | |
| push: | |
| branches: [ master, staging, stable ] | |
| merge_group: | |
| pull_request: | |
| types: [ opened, reopened, synchronize, ready_for_review ] | |
| jobs: | |
| build: | |
| name: YAML Linter | |
| if: github.actor != 'IanComradeBot' && github.event.pull_request.draft == false | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4.2.2 | |
| - name: Setup submodule | |
| run: | | |
| git submodule update --init --recursive | |
| - name: Pull engine updates | |
| uses: space-wizards/submodule-dependency@v0.1.5 | |
| - name: Update Engine Submodules | |
| run: | | |
| cd RobustToolbox/ | |
| git submodule update --init --recursive | |
| - name: Setup .NET Core | |
| uses: actions/setup-dotnet@v4.1.0 | |
| with: | |
| dotnet-version: 10.0.x | |
| - name: Install dependencies | |
| run: dotnet restore | |
| # - name: skip locale check | |
| # run: | | |
| # sed -i 's/_logSawmill.Error(sbErr.ToString());/_logSawmill.Warning(sbErr.ToString());/g' RobustToolbox/Robust.Shared/Localization/LocalizationManager.cs | |
| - name: Build | |
| run: dotnet build --configuration Release --no-restore /p:WarningsAsErrors= /m | |
| - name: Run Linter | |
| run: dotnet run --project Content.YAMLLinter/Content.YAMLLinter.csproj --no-build |