Skip to content

Commit 313be32

Browse files
committed
initial commit
0 parents  commit 313be32

37 files changed

+5836
-0
lines changed

.github/workflows/ci.yml

Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
name: CI
2+
3+
on:
4+
push:
5+
branches: [ main ]
6+
pull_request:
7+
branches: [ main ]
8+
9+
jobs:
10+
build-and-test:
11+
name: Build and Test
12+
runs-on: ubuntu-latest
13+
14+
steps:
15+
- name: Checkout code
16+
uses: actions/checkout@v4
17+
18+
- name: Setup .NET
19+
uses: actions/setup-dotnet@v4
20+
with:
21+
dotnet-version: '10.0.x'
22+
23+
- name: Cache NuGet packages
24+
uses: actions/cache@v4
25+
with:
26+
path: ~/.nuget/packages
27+
key: ${{ runner.os }}-nuget-${{ hashFiles('**/*.csproj') }}
28+
restore-keys: |
29+
${{ runner.os }}-nuget-
30+
31+
- name: Restore dependencies
32+
run: dotnet restore tests/Relay.Tests/Relay.Tests.csproj
33+
34+
- name: Build main project
35+
run: dotnet build src/Relay/Relay.csproj --no-restore --configuration Release
36+
37+
- name: Build test project
38+
run: dotnet build tests/Relay.Tests/Relay.Tests.csproj --no-restore --configuration Release
39+
40+
- name: Run tests
41+
run: dotnet test tests/Relay.Tests/Relay.Tests.csproj --no-build --configuration Release --verbosity normal --logger "trx;LogFileName=test-results.trx"
42+
43+
- name: Upload test results
44+
uses: actions/upload-artifact@v4
45+
if: always()
46+
with:
47+
name: test-results
48+
path: '**/test-results.trx'
49+
retention-days: 30

.gitignore

Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
*.swp
2+
*.*~
3+
project.lock.json
4+
.DS_Store
5+
*.pyc
6+
nupkg/
7+
8+
# Visual Studio Code
9+
.vscode/*
10+
!.vscode/settings.json
11+
12+
# Rider
13+
.idea/
14+
15+
# Visual Studio
16+
.vs/
17+
18+
# Fleet
19+
.fleet/
20+
21+
# Code Rush
22+
.cr/
23+
24+
# User-specific files
25+
*.suo
26+
*.user
27+
*.userosscache
28+
*.sln.docstates
29+
30+
# Build results
31+
[Dd]ebug/
32+
[Dd]ebugPublic/
33+
[Rr]elease/
34+
[Rr]eleases/
35+
x64/
36+
x86/
37+
build/
38+
bld/
39+
[Bb]in/
40+
[Oo]bj/
41+
[Oo]ut/
42+
msbuild.log
43+
msbuild.err
44+
msbuild.wrn
45+
46+
# Node.js build artifacts
47+
node_modules/
48+
package-lock.json
49+
package.json

LICENSE

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
MIT License
2+
3+
Copyright (c) 2026 Nejdet Kadir Bektaş
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

0 commit comments

Comments
 (0)