diff --git a/.editorconfig b/.editorconfig index a67d140977..bc821d3601 100644 --- a/.editorconfig +++ b/.editorconfig @@ -11,6 +11,9 @@ indent_size = 4 [*.ts] indent_size = 2 +[*.yml] +indent_size = 2 + # Fantomas (see https://fsprojects.github.io/fantomas/docs/end-users/Configuration.html) [*.{fs,fsx,fsi}] max_line_length = 80 diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 2aed4b3424..043c88bb1e 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -28,6 +28,21 @@ jobs: - name: Check F# code run: dotnet fantomas . --check + # Verify that Fable.sln can be restored + # See: https://github.com/fable-compiler/Fable/issues/3687 + restore-project: + name: Check that solution can be restored + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v4 + + - name: Setup .NET + uses: actions/setup-dotnet@v3 + + - name: Restore project + run: dotnet restore Fable.sln + # Separate build job for JavaScript build-javascript: strategy: