-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit fd59edb
Showing
127 changed files
with
3,835 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
[bumpversion] | ||
current_version = 0.0.0 | ||
commit = True | ||
message = Update version {current_version} -> {new_version} | ||
|
||
[bumpversion:file:README.md] | ||
search = {current_version} | ||
replace = {new_version} | ||
|
||
[bumpversion:file:version.txt] | ||
search = {current_version} | ||
replace = {new_version} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
# To get started with Dependabot version updates, you'll need to specify which | ||
# package ecosystems to update and where the package manifests are located. | ||
# Please see the documentation for all configuration options: | ||
# https://docs.github.com/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file | ||
|
||
version: 2 | ||
updates: | ||
- package-ecosystem: "nuget" | ||
directory: "/src/dotnet/BusinessLogic" | ||
schedule: | ||
interval: "daily" | ||
- package-ecosystem: "nuget" | ||
directory: "/src/dotnet/Infrastructure.Graphql" | ||
schedule: | ||
interval: "daily" | ||
- package-ecosystem: "nuget" | ||
directory: "/src/dotnet/Infrastructure.Graphql.Host" | ||
schedule: | ||
interval: "daily" | ||
- package-ecosystem: "nuget" | ||
directory: "/src/dotnet/Tools" | ||
schedule: | ||
interval: "daily" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
name: Documentation - Feature | ||
run-name: Documentation - Feature | ||
|
||
on: | ||
pull_request: | ||
branches: | ||
- main | ||
paths: | ||
- 'Docs/**' | ||
|
||
jobs: | ||
|
||
debug: | ||
name: Debug | ||
runs-on: ubuntu-latest | ||
steps: | ||
- run: | | ||
echo "=============" | ||
echo "=== Debug ===" | ||
echo "=============" | ||
echo "github ref: " ${{ vars.GITHUB_REF }} | ||
echo "dotnet version: " ${{ vars.DOTNET_VERSION }} | ||
echo "event name: " ${{ github.event_name }} | ||
main_branch: | ||
name: Feature Branch Build | ||
runs-on: ubuntu-latest | ||
needs: debug | ||
# environment: | ||
# name: github-pages | ||
# url: ${{ steps.deployment.outputs.page_url }} | ||
# permissions: | ||
# contents: write | ||
# issues: write | ||
# pull-requests: write | ||
# pages: write | ||
# id-token: write | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
|
||
- run: dotnet tool update -g docfx | ||
|
||
- run: docfx Docs/docfx.json --output Docs/_site | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,61 @@ | ||
name: Documentation - Main | ||
run-name: Documentation - Main | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
paths: | ||
- 'Docs/**' | ||
|
||
jobs: | ||
|
||
debug: | ||
name: Debug | ||
runs-on: ubuntu-latest | ||
steps: | ||
- run: | | ||
echo "=============" | ||
echo "=== Debug ===" | ||
echo "=============" | ||
echo "github ref: " ${{ vars.GITHUB_REF }} | ||
echo "dotnet version: " ${{ vars.DOTNET_VERSION }} | ||
echo "event name: " ${{ github.event_name }} | ||
main_branch: | ||
name: Main Branch Build | ||
runs-on: ubuntu-latest | ||
needs: debug | ||
environment: | ||
name: github-pages | ||
url: ${{ steps.deployment.outputs.page_url }} | ||
permissions: | ||
contents: write | ||
issues: write | ||
pull-requests: write | ||
pages: write | ||
id-token: write | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
|
||
- run: dotnet tool update -g docfx | ||
|
||
- run: docfx Docs/docfx.json --output Docs/_site | ||
|
||
- name: Setup pages | ||
uses: actions/configure-pages@v3 | ||
|
||
- name: Upload artifact | ||
uses: actions/upload-pages-artifact@v2 | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.TOKEN_FOR_SEMANTIC_RELEASE }} | ||
with: | ||
path: 'Docs/_site' | ||
|
||
- name: Deploy to Github Pages | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.TOKEN_FOR_SEMANTIC_RELEASE }} | ||
id: deployment | ||
uses: actions/deploy-pages@v2 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,104 @@ | ||
name: Feature | ||
run-name: Feature | ||
|
||
on: | ||
pull_request: | ||
branches: | ||
- main | ||
|
||
jobs: | ||
|
||
debug: | ||
name: Debug | ||
runs-on: ubuntu-latest | ||
steps: | ||
- run: | | ||
echo "=============" | ||
echo "=== Debug ===" | ||
echo "=============" | ||
echo "github ref: " ${{ vars.GITHUB_REF }} | ||
echo "dotnet version: " ${{ vars.DOTNET_VERSION }} | ||
echo "event name: " ${{ github.event_name }} | ||
commons: | ||
name: EG.Commons | ||
runs-on: ubuntu-latest | ||
needs: debug | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
|
||
- name: Setting up Dotnet with ${{ vars.DOTNET_VERSION }} version | ||
uses: actions/setup-dotnet@v3 | ||
with: | ||
dotnet-version: ${{ vars.DOTNET_VERSION }} | ||
|
||
- name: Restore | ||
run: | | ||
dotnet restore src/EG.Common/EG.Common.sln | ||
- name: Build | ||
run: | | ||
dotnet build --configuration Debug src/EG.Common/EG.Common.sln | ||
- name: Test | ||
run: | | ||
dotnet test --no-restore --verbosity normal src/EG.Common/EG.Common.sln | ||
backend: | ||
name: EG.Backend | ||
runs-on: ubuntu-latest | ||
needs: debug | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
|
||
- name: Setting up Dotnet with ${{ vars.DOTNET_VERSION }} version | ||
uses: actions/setup-dotnet@v3 | ||
with: | ||
dotnet-version: ${{ vars.DOTNET_VERSION }} | ||
|
||
- name: EG Nuget repo | ||
run: | | ||
dotnet nuget add source --username Andras-Csanyi --password ${{ secrets.GITHUB_TOKEN }} --store-password-in-clear-text --name github "https://nuget.pkg.github.com/EncyclopediaGalactica/index.json" | ||
- name: Restore | ||
run: | | ||
dotnet restore src/EG.Backend/EG.Backend.sln | ||
- name: Build | ||
run: | | ||
dotnet build --configuration Debug src/EG.Backend/EG.Backend.sln | ||
- name: Test | ||
run: | | ||
dotnet test --no-restore --verbosity normal src/EG.Backend/EG.Backend.sln | ||
frontend: | ||
name: EG.Frontend | ||
runs-on: ubuntu-latest | ||
needs: debug | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
|
||
- name: Setting up Dotnet with ${{ vars.DOTNET_VERSION }} version | ||
uses: actions/setup-dotnet@v3 | ||
with: | ||
dotnet-version: ${{ vars.DOTNET_VERSION }} | ||
|
||
- name: EG Nuget repo | ||
run: | | ||
dotnet nuget add source --username Andras-Csanyi --password ${{ secrets.GITHUB_TOKEN }} --store-password-in-clear-text --name github "https://nuget.pkg.github.com/EncyclopediaGalactica/index.json" | ||
- name: Restore | ||
run: | | ||
dotnet restore src/EG.FrontEnd/EG.FrontEnd.sln | ||
- name: Build | ||
run: | | ||
dotnet build --configuration Debug src/EG.FrontEnd/EG.FrontEnd.sln | ||
- name: Test | ||
run: | | ||
dotnet test --no-restore --verbosity normal src/EG.FrontEnd/EG.FrontEnd.sln |
Oops, something went wrong.