Skip to content

Bump dotnet/aspnet in /src/WebApi (#36) #48

Bump dotnet/aspnet in /src/WebApi (#36)

Bump dotnet/aspnet in /src/WebApi (#36) #48

Workflow file for this run

# yaml-language-server: $schema=https://json.schemastore.org/github-workflow.json
name: build
on:
# Allow running the workflow manually from the GitHub UI
workflow_dispatch:
push:
branches:
# Run the workflow when pushing to the main branch
- main
paths:
# Only run when code changes
- "src/**"
- "Directory.Build.props"
- "Directory.Packages.props"
- "FunQL.Playground.sln"
- "global.json"
pull_request:
branches:
# Run the workflow for all pull requests for the main branch
- main
paths:
# Only run when code changes
- "src/**"
- "Directory.Build.props"
- "Directory.Packages.props"
- "FunQL.Playground.sln"
- "global.json"
jobs:
build:
runs-on: ubuntu-latest
timeout-minutes: 15
steps:
- uses: actions/checkout@v5
- name: Setup .NET (global.json)
uses: actions/setup-dotnet@v5
- name: Restore dependencies
run: dotnet restore
- name: Build
run: dotnet build -c Release --no-restore
- name: Test
run: dotnet test -c Release --no-build --verbosity normal