refactor(import): rename DataImportType enum to DataImportTypes (#844) #1309
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: Check Localization Keys | |
| on: | |
| push: | |
| branches: [ "main" ] | |
| pull_request: | |
| branches: [ "main" ] | |
| jobs: | |
| check: | |
| runs-on: ubuntu-latest | |
| permissions: | |
| contents: read | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Setup .NET | |
| uses: actions/setup-dotnet@v4 | |
| with: | |
| dotnet-version: '10.0.x' | |
| - name: Run LocalizationKeyGenerator | |
| run: dotnet run --project Tools/LocalizationKeyGenerator/LocalizationKeyGenerator.csproj | |
| - name: Check LocalizationKeys.g.cs is up to date | |
| run: | | |
| if ! git diff --exit-code AvatarExplorer.Core/Localization/LocalizationKeys.g.cs; then | |
| echo "::error::LocalizationKeys.g.cs is out of date. Please run the LocalizationKeyGenerator and commit the updated file." | |
| exit 1 | |
| fi |