diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
new file mode 100644
index 00000000..f4a2299d
--- /dev/null
+++ b/.github/workflows/ci.yml
@@ -0,0 +1,25 @@
+name: CI
+
+on:
+ push:
+ branches: [ "main" ]
+ workflow_dispatch:
+
+jobs:
+ build:
+ name: CI
+ runs-on: ubuntu-latest
+
+ steps:
+ - uses: actions/checkout@v4
+
+ - name: Set up .NET Core
+ uses: actions/setup-dotnet@v4
+ with:
+ dotnet-version: 8.0
+
+ - name: dotnet test
+ run: dotnet test --configuration Release
+
+ - name: dotnet publish
+ run: dotnet publish src/GitHubActionsDotNet.Api/GitHubActionsDotNet.Api.csproj --configuration Release -o artifacts
diff --git a/src/GitHubActionsDotNet.Api.Tests/GitHubActionsDotNet.Api.Tests.csproj b/src/GitHubActionsDotNet.Api.Tests/GitHubActionsDotNet.Api.Tests.csproj
index 424bab8f..c8d83d3b 100644
--- a/src/GitHubActionsDotNet.Api.Tests/GitHubActionsDotNet.Api.Tests.csproj
+++ b/src/GitHubActionsDotNet.Api.Tests/GitHubActionsDotNet.Api.Tests.csproj
@@ -11,15 +11,15 @@
-
-
-
-
-
+
+
+
+
+
-
+
diff --git a/src/GitHubActionsDotNet.Api.Tests/Models/WeatherForecastTests.cs b/src/GitHubActionsDotNet.Api.Tests/Models/WeatherForecastTests.cs
index f03d0f47..4961f8b7 100644
--- a/src/GitHubActionsDotNet.Api.Tests/Models/WeatherForecastTests.cs
+++ b/src/GitHubActionsDotNet.Api.Tests/Models/WeatherForecastTests.cs
@@ -1,7 +1,9 @@
namespace GitHubActionsDotNet.Api.Tests;
+
using FluentAssertions;
using GitHubActionsDotNet.Api.Models;
+
public class WeatherForecastTests
{
[Fact]
diff --git a/src/GitHubActionsDotNet.Api/GitHubActionsDotNet.Api.csproj b/src/GitHubActionsDotNet.Api/GitHubActionsDotNet.Api.csproj
index f18b2634..5b4d518c 100644
--- a/src/GitHubActionsDotNet.Api/GitHubActionsDotNet.Api.csproj
+++ b/src/GitHubActionsDotNet.Api/GitHubActionsDotNet.Api.csproj
@@ -11,4 +11,4 @@
-
+
\ No newline at end of file