diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml new file mode 100644 index 00000000..fa67cdc7 --- /dev/null +++ b/.github/workflows/pr.yml @@ -0,0 +1,19 @@ +on: [pull_request] + +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - name: Setup .NET 7.x + uses: actions/setup-dotnet@v3 + with: + dotnet-version: "7.x" + - name: Install F# + run: dotnet tool install -g fsharp + - name: Install tools + run: dotnet tool restore + - name: Build + run: dotnet build + - name: Test + run: dotnet test --project src/Escalier.Parser.Test