Skip to content

Commit

Permalink
Implement Ticket Entity
Browse files Browse the repository at this point in the history
  • Loading branch information
Elyas-Amini committed Aug 17, 2023
1 parent 04b6be5 commit da353f5
Show file tree
Hide file tree
Showing 53 changed files with 4,297 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .github/ISSUE_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
## Title

<!-- A sentence about the issue. -->

## Description

<!-- Description of the issue. -->

### Checklist:

- [ ] It's a bug report.
- [ ] It's a feature request.
- [ ] Related language label is selected.
19 changes: 19 additions & 0 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
## Description

<!-- A few sentences describing the pull request. -->

### Related issue(s)

<!-- If this PR relates to any issues, mention them here. -->

### Checklist:

- [ ] It refers to an [Issue](https://github.com/EasyMicroservices/FileManager/issues).
- [ ] It fixes a bug.
- [ ] It's a new feature (non-breaking change which adds functionality)
- [ ] It's a breaking (fix or feature that would cause existing functionality to change)
- [ ] My code follows the code style of this project.
- [ ] I have added tests to cover my changes.
- [ ] All new and existing tests passed.
- [ ] CHANGELOG is updated.
- [ ] Related language label is selected.
43 changes: 43 additions & 0 deletions .github/workflows/dotnet-format-action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
name: dotnet format
on:
push:
branches: [develop]

jobs:
format:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- name: Setup .NET
uses: actions/setup-dotnet@v3
with:
dotnet-version: |
3.1.x
5.0.x
6.0.x
7.0.x
- name: Install Android
run: dotnet workload install android
- name: Run dotnet format
id: format
uses: jfversluis/[email protected]
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
action: "fix"
workspace: "./src/CSharp/EasyMicroservices.SupportsMicroservice.sln"
- name: Test
run: |
dotnet test ./src/CSharp/EasyMicroservices.SupportsMicroservice.sln -f netcoreapp3.1
dotnet test ./src/CSharp/EasyMicroservices.SupportsMicroservice.sln -f net6.0
dotnet test ./src/CSharp/EasyMicroservices.SupportsMicroservice.sln -f net5.0
- name: Commit files
if: steps.format.outputs.has-changes == 'true'
uses: EndBug/[email protected]
with:
author_name: Github Actions
author_email: [email protected]
message: "chore: Automated dotnet-format update"
ref: ${{ github.head_ref }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
32 changes: 32 additions & 0 deletions .github/workflows/dotnet-linux-client.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: Linux Client (dotnet build and test)

on:
push:
branches: [develop]
pull_request:
branches: [develop]

jobs:
os-tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Setup .NET
uses: actions/setup-dotnet@v3
with:
dotnet-version: |
3.1.x
5.0.x
6.0.x
7.0.x
- name: Install Android
run: dotnet workload install android
- name: Restore dependencies
run: dotnet restore ./src/CSharp/EasyMicroservices.SupportsMicroservice.Client.sln
- name: Build
run: dotnet build ./src/CSharp/EasyMicroservices.SupportsMicroservice.Client.sln --no-restore
- name: Test
run: |
dotnet test ./src/CSharp/EasyMicroservices.SupportsMicroservice.Client.sln --no-build --verbosity normal -f netcoreapp3.1
dotnet test ./src/CSharp/EasyMicroservices.SupportsMicroservice.Client.sln --no-build --verbosity normal -f net6.0
dotnet test ./src/CSharp/EasyMicroservices.SupportsMicroservice.Client.sln --no-build --verbosity normal -f net5.0
32 changes: 32 additions & 0 deletions .github/workflows/dotnet-linux.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: Linux (dotnet build and test)

on:
push:
branches: [develop]
pull_request:
branches: [develop]

jobs:
os-tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Setup .NET
uses: actions/setup-dotnet@v3
with:
dotnet-version: |
3.1.x
5.0.x
6.0.x
7.0.x
- name: Install Android
run: dotnet workload install android
- name: Restore dependencies
run: dotnet restore ./src/CSharp/EasyMicroservices.SupportsMicroservice.sln
- name: Build
run: dotnet build ./src/CSharp/EasyMicroservices.SupportsMicroservice.sln --no-restore
- name: Test
run: |
dotnet test ./src/CSharp/EasyMicroservices.SupportsMicroservice.sln --no-build --verbosity normal -f netcoreapp3.1
dotnet test ./src/CSharp/EasyMicroservices.SupportsMicroservice.sln --no-build --verbosity normal -f net6.0
dotnet test ./src/CSharp/EasyMicroservices.SupportsMicroservice.sln --no-build --verbosity normal -f net5.0
32 changes: 32 additions & 0 deletions .github/workflows/dotnet-macos-client.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: MacOS Client (dotnet build and test)

on:
push:
branches: [develop]
pull_request:
branches: [develop]

jobs:
os-tests:
runs-on: macos-latest
steps:
- uses: actions/checkout@v3
- name: Setup .NET
uses: actions/setup-dotnet@v3
with:
dotnet-version: |
3.1.x
5.0.x
6.0.x
7.0.x
- name: Install Android
run: dotnet workload install android
- name: Restore dependencies
run: dotnet restore ./src/CSharp/EasyMicroservices.SupportsMicroservice.Client.sln
- name: Build
run: dotnet build ./src/CSharp/EasyMicroservices.SupportsMicroservice.Client.sln --no-restore
- name: Test
run: |
dotnet test ./src/CSharp/EasyMicroservices.SupportsMicroservice.Client.sln --no-build --verbosity normal -f netcoreapp3.1
dotnet test ./src/CSharp/EasyMicroservices.SupportsMicroservice.Client.sln --no-build --verbosity normal -f net6.0
dotnet test ./src/CSharp/EasyMicroservices.SupportsMicroservice.Client.sln --no-build --verbosity normal -f net5.0
32 changes: 32 additions & 0 deletions .github/workflows/dotnet-macos.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: MacOS (dotnet build and test)

on:
push:
branches: [develop]
pull_request:
branches: [develop]

jobs:
os-tests:
runs-on: macos-latest
steps:
- uses: actions/checkout@v3
- name: Setup .NET
uses: actions/setup-dotnet@v3
with:
dotnet-version: |
3.1.x
5.0.x
6.0.x
7.0.x
- name: Install Android
run: dotnet workload install android
- name: Restore dependencies
run: dotnet restore ./src/CSharp/EasyMicroservices.SupportsMicroservice.sln
- name: Build
run: dotnet build ./src/CSharp/EasyMicroservices.SupportsMicroservice.sln --no-restore
- name: Test
run: |
dotnet test ./src/CSharp/EasyMicroservices.SupportsMicroservice.sln --no-build --verbosity normal -f netcoreapp3.1
dotnet test ./src/CSharp/EasyMicroservices.SupportsMicroservice.sln --no-build --verbosity normal -f net6.0
dotnet test ./src/CSharp/EasyMicroservices.SupportsMicroservice.sln --no-build --verbosity normal -f net5.0
29 changes: 29 additions & 0 deletions .github/workflows/dotnet-windows-client.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Windows Client (dotnet build and test)

on:
push:
branches: [develop]
pull_request:
branches: [develop]

jobs:
os-tests:
runs-on: windows-latest
steps:
- uses: actions/checkout@v3
- name: Setup .NET
uses: actions/setup-dotnet@v3
with:
dotnet-version: |
3.1.x
5.0.x
6.0.x
7.0.x
- name: Install Android
run: dotnet workload install android
- name: Restore dependencies
run: dotnet restore ./src/CSharp/EasyMicroservices.SupportsMicroservice.Client.sln
- name: Build
run: dotnet build ./src/CSharp/EasyMicroservices.SupportsMicroservice.Client.sln --no-restore
- name: Test
run: dotnet test ./src/CSharp/EasyMicroservices.SupportsMicroservice.Client.sln --no-build --verbosity normal
29 changes: 29 additions & 0 deletions .github/workflows/dotnet-windows.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Windows (dotnet build and test)

on:
push:
branches: [develop]
pull_request:
branches: [develop]

jobs:
os-tests:
runs-on: windows-latest
steps:
- uses: actions/checkout@v3
- name: Setup .NET
uses: actions/setup-dotnet@v3
with:
dotnet-version: |
3.1.x
5.0.x
6.0.x
7.0.x
- name: Install Android
run: dotnet workload install android
- name: Restore dependencies
run: dotnet restore ./src/CSharp/EasyMicroservices.SupportsMicroservice.sln
- name: Build
run: dotnet build ./src/CSharp/EasyMicroservices.SupportsMicroservice.sln --no-restore
- name: Test
run: dotnet test ./src/CSharp/EasyMicroservices.SupportsMicroservice.sln --no-build --verbosity normal
28 changes: 28 additions & 0 deletions .github/workflows/nuget-push-public-client.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: NuGet Push Public Client

on: [workflow_dispatch]

jobs:
build-test-prep-push:
runs-on: windows-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-dotnet@v3
with:
dotnet-version: |
3.1.x
5.0.x
6.0.x
7.0.x
env:
DOTNET_INSTALL_DIR: /usr/share/dotnet
- name: Restore dependencies
run: dotnet restore ./src/CSharp/EasyMicroservices.SupportsMicroservice.Client.sln
- name: Build
run: dotnet build ./src/CSharp/EasyMicroservices.SupportsMicroservice.Client.sln --no-restore
- name: Test
run: dotnet test ./src/CSharp/EasyMicroservices.SupportsMicroservice.Client.sln --no-build --verbosity normal
- name: Create the package
run: dotnet pack ./src/CSharp/EasyMicroservices.SupportsMicroservice.Client.sln --output nupkgs
- name: Publish the package to NuGet.org
run: dotnet nuget push nupkgs\*.nupkg -k ${{secrets.NUGET_KEY}} -s https://api.nuget.org/v3/index.json --skip-duplicate
28 changes: 28 additions & 0 deletions .github/workflows/nuget-push-public.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: NuGet Push Public

on: [workflow_dispatch]

jobs:
build-test-prep-push:
runs-on: windows-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-dotnet@v3
with:
dotnet-version: |
3.1.x
5.0.x
6.0.x
7.0.x
env:
DOTNET_INSTALL_DIR: /usr/share/dotnet
- name: Restore dependencies
run: dotnet restore ./src/CSharp/EasyMicroservices.SupportsMicroservice.sln
- name: Build
run: dotnet build ./src/CSharp/EasyMicroservices.SupportsMicroservice.sln --no-restore
- name: Test
run: dotnet test ./src/CSharp/EasyMicroservices.SupportsMicroservice.sln --no-build --verbosity normal
- name: Create the package
run: dotnet pack ./src/CSharp/EasyMicroservices.SupportsMicroservice.sln --output nupkgs
- name: Publish the package to NuGet.org
run: dotnet nuget push nupkgs\*.nupkg -k ${{secrets.NUGET_KEY}} -s https://api.nuget.org/v3/index.json --skip-duplicate
Loading

0 comments on commit da353f5

Please sign in to comment.