Skip to content

Commit

Permalink
Merge pull request #14 from Arkatufus/Add-CICD
Browse files Browse the repository at this point in the history
Add GitHub Actions CI/CD
  • Loading branch information
Arkatufus authored Aug 27, 2024
2 parents e3f9c8a + 40e86cf commit 79bdfc3
Show file tree
Hide file tree
Showing 3 changed files with 57 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
version: 2
updates:
- package-ecosystem: nuget
directory: "/"
schedule:
interval: daily
time: "11:00"
open-pull-requests-limit: 10
35 changes: 35 additions & 0 deletions .github/workflows/pr_validation.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: pr_validation

on:
push:
branches:
- master
- dev
pull_request:
branches:
- master
- dev

jobs:
test:
name: Test-${{matrix.os}}
runs-on: ${{matrix.os}}

strategy:
matrix:
os: [ubuntu-latest]

steps:
- name: "Checkout"
uses: actions/[email protected]
with:
lfs: true
fetch-depth: 0

- name: "Install .NET SDK"
uses: actions/[email protected]
with:
global-json-file: "./global.json"

- name: "dotnet test"
run: dotnet test --configuration Release --verbosity normal --logger trx --collect:"XPlat Code Coverage"
14 changes: 14 additions & 0 deletions Akka.Persistence.Migration.sln
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,16 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "App.PostgreSql", "src\App.P
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Akka.Persistence.Migration.Tests", "tests\Akka.Persistence.Migration.Tests\Akka.Persistence.Migration.Tests.csproj", "{3CDDDAE9-8117-445A-B762-180C10D061B5}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = ".github", ".github", "{498A8D67-6CEF-4BD0-A909-8EC4E797AB97}"
ProjectSection(SolutionItems) = preProject
.github\dependabot.yml = .github\dependabot.yml
EndProjectSection
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "workflows", "workflows", "{85845278-F4EA-47C1-8C04-867D9091933C}"
ProjectSection(SolutionItems) = preProject
.github\workflows\pr_validation.yml = .github\workflows\pr_validation.yml
EndProjectSection
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Expand Down Expand Up @@ -47,4 +57,8 @@ Global
{3CDDDAE9-8117-445A-B762-180C10D061B5}.Release|Any CPU.ActiveCfg = Release|Any CPU
{3CDDDAE9-8117-445A-B762-180C10D061B5}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(NestedProjects) = preSolution
{498A8D67-6CEF-4BD0-A909-8EC4E797AB97} = {BC8393DD-026F-45C0-A061-032EBA68377C}
{85845278-F4EA-47C1-8C04-867D9091933C} = {498A8D67-6CEF-4BD0-A909-8EC4E797AB97}
EndGlobalSection
EndGlobal

0 comments on commit 79bdfc3

Please sign in to comment.