Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 21 additions & 0 deletions .github/workflows/pr-verify.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: PR Verify

on:
pull_request:
branches: [ "main" ]

jobs:
build:
name: PR Verify
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4 # Check out the repository first

- name: Set up .NET Core # Set up the .NET environment
uses: actions/setup-dotnet@v4
with:
dotnet-version: 8.0

- name: Build with dotnet # Build the project
run: dotnet build --configuration Release
1 change: 1 addition & 0 deletions src/GitHubActionsDotNet.Api/Models/WeatherForecast.cs
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,4 @@ public record WeatherForecast

public string? Summary { get; init; }
}