Skip to content

Commit

Permalink
Initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexZeitler authored Feb 29, 2024
0 parents commit 4f2362f
Show file tree
Hide file tree
Showing 52 changed files with 3,948 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
root = true

[**/**.{cs,cshtml,js,json,yml}]
indent_style = space
indent_size = 2
insert_final_newline = true
37 changes: 37 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
name: .NET Core Build with Tests

on:
push:
branches: [ main ]
pull_request:
branches: [ main ]

jobs:
build:
# use ubuntu for more build minutes
runs-on: ubuntu-latest
# use release mode for all steps
env:
config: 'Debug'

steps:
- uses: actions/checkout@v3
- name: Setup .NET Core
uses: actions/setup-dotnet@v2
with:
dotnet-version: '8.0.x'

- name: Install dependencies
run: |
cd src
dotnet restore
- name: Build
run: |
cd src
dotnet build --configuration $config --no-restore
cd AspNetCoreMvcHtmx
docker build . -t aspnetcoremvchtmx
- name: Test
run: |
cd src
dotnet test -l "console;verbosity=detailed"
Loading

0 comments on commit 4f2362f

Please sign in to comment.