Skip to content

Commit

Permalink
Merge pull request #3714 from fable-compiler/workflow_restore_fable_sln
Browse files Browse the repository at this point in the history
Verify that Fable.sln can be restored
  • Loading branch information
MangelMaxime authored Jan 24, 2024
2 parents d9de474 + 809e125 commit e7d45db
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
15 changes: 15 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit e7d45db

Please sign in to comment.