Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
DBJDBJ committed Jan 14, 2024
2 parents 20ef6f5 + a3609d4 commit d8e4567
Show file tree
Hide file tree
Showing 4 changed files with 36 additions and 1 deletion.
29 changes: 29 additions & 0 deletions .github/workflows/dotnet.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
# [email protected] CC BY SA 4.0
# This workflow will build a .NET project
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-net

name: .NET

on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]

jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- name: Setup .NET
uses: actions/setup-dotnet@v3
with:
dotnet-version: 6.0.x
- name: Restore dependencies
run: dotnet restore
- name: Build
run: dotnet build --no-restore
- name: Test
run: dotnet test --no-build --verbosity normal
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
pub/
## Ignore Visual Studio temporary files, build results, and
## files generated by popular Visual Studio add-ons.
##
Expand Down
4 changes: 3 additions & 1 deletion readme.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
> NOTE: this readme like everything in here is W.I.P.
<h1>DBJ CORE</h1>

# Why?
Expand Down Expand Up @@ -78,4 +80,4 @@ We use, wherever we can this .NET optimization:
```
It is not a magic wand. Just a hint to a compiler. But very effective.

Farewell HINT: Code simple. If can not, always check your clever code with https://sharplab.io . Always.
<hr/>
3 changes: 3 additions & 0 deletions release.cmd
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
@REM https://learn.microsoft.com/en-us/dotnet/core/tools/dotnet-publish
@cls
dotnet publish -c Release -o ./pub

0 comments on commit d8e4567

Please sign in to comment.