Skip to content

fix(Commands): propagate the correct cancellation token to support ex… #329

fix(Commands): propagate the correct cancellation token to support ex…

fix(Commands): propagate the correct cancellation token to support ex… #329

Workflow file for this run

name: Build main
on:
push:
branches: [main, dev]
paths:
- "src/**"
- "tests/**"
- "tools.fsx"
- "esbuild-ci.fsx"
- ".github/workflows/main.yml"
- "*.sln"
- "*.fsproj"
- "Directory.Build.props"
- "Directory.Packages.props"
pull_request:
branches: [main]
paths:
- "src/**"
- "tests/**"
- "tools.fsx"
- "esbuild-ci.fsx"
- ".github/workflows/main.yml"
- "*.sln"
- "*.fsproj"
- "Directory.Build.props"
- "Directory.Packages.props"
env:
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
DOTNET_CLI_TELEMETRY_OPTOUT: true
concurrency:
group: build
cancel-in-progress: true
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
- name: Setup .NET Core
uses: actions/setup-dotnet@v4
with:
global-json-file: global.json
- name: Install local tools
run: dotnet tool restore
- name: Restore Solution
run: dotnet restore
- name: Build
run: dotnet fsi tools.fsx
- name: Prepare Esbuild
run: dotnet fsi esbuild-ci.fsx
- name: Test .NET 8
run: dotnet fsi tools.fsx -- test -- -f=net8.0
- name: Test .NET 10
run: dotnet fsi tools.fsx -- test -- -f=net10.0