hell naw #23
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
| # SPDX-FileCopyrightText: 2021 Javier Guardia Fernández <DrSmugleaf@users.noreply.github.com> | |
| # SPDX-FileCopyrightText: 2021 Paul Ritter <ritter.paul1@googlemail.com> | |
| # SPDX-FileCopyrightText: 2021 Swept <sweptwastaken@protonmail.com> | |
| # SPDX-FileCopyrightText: 2021 mirrorcult <lunarautomaton6@gmail.com> | |
| # SPDX-FileCopyrightText: 2022 0x6273 <0x40@keemail.me> | |
| # SPDX-FileCopyrightText: 2023 DrSmugleaf <DrSmugleaf@users.noreply.github.com> | |
| # SPDX-FileCopyrightText: 2023 Moony <moony@hellomouse.net> | |
| # SPDX-FileCopyrightText: 2023 Pieter-Jan Briers <pieterjan.briers+git@gmail.com> | |
| # SPDX-FileCopyrightText: 2023 metalgearsloth <31366439+metalgearsloth@users.noreply.github.com> | |
| # SPDX-FileCopyrightText: 2024 MilenVolf <63782763+MilenVolf@users.noreply.github.com> | |
| # SPDX-FileCopyrightText: 2024 Tadeo <td12233a@gmail.com> | |
| # SPDX-FileCopyrightText: 2025 Tay <td12233a@gmail.com> | |
| # SPDX-FileCopyrightText: 2025 pa.pecherskij <pa.pecherskij@interfax.ru> | |
| # SPDX-FileCopyrightText: 2025 slarticodefast <161409025+slarticodefast@users.noreply.github.com> | |
| # SPDX-FileCopyrightText: 2025 sleepyyapril <123355664+sleepyyapril@users.noreply.github.com> | |
| # SPDX-FileCopyrightText: 2025 taydeo <td12233a@gmail.com> | |
| # | |
| # SPDX-License-Identifier: MIT | |
| 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 != 'funkystationbot' && 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: 9.0.x | |
| - name: Install dependencies | |
| run: dotnet restore | |
| - 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 |