-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #4 from AeFinderProject/release/1.0.0
Release v1.0.0
- Loading branch information
Showing
31 changed files
with
1,214 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,33 @@ | ||
--- | ||
name: 👾 Bug Report | ||
about: Report a bug or issue with the project. | ||
title: '' | ||
labels: 'bug' | ||
assignees: '' | ||
|
||
--- | ||
|
||
### Description | ||
A clear and concise description of what the bug is. | ||
|
||
### Steps To Reproduce | ||
1. Log in... | ||
2. Ensure that... | ||
3. Allow a long period of inactivity to pass... | ||
4. Observe that... | ||
5. Attempt to log in... | ||
|
||
### Current Behavior | ||
- After the period of inactivity... | ||
- When the user tries to log in using another method... | ||
- This causes a bug due to... | ||
|
||
### Expected Behavior | ||
- After a long period of inactivity... | ||
- When a user logs in successfully... | ||
- This ensures that only... | ||
|
||
### Environment | ||
- Platform: PC | ||
- Node: v18.18.0 | ||
- Browser: Chrome 126.0.6478.56 |
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,10 @@ | ||
blank_issues_enabled: false | ||
issue_template: | ||
- name: 👾 Bug Report | ||
description: Report a bug or issue with the project. | ||
labels: ["bug"] | ||
template: bug_report.md | ||
- name: 💡 Feature Request | ||
description: Create a new ticket for a new feature request. | ||
labels: ["enhancement"] | ||
template: feature_request.md |
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,27 @@ | ||
--- | ||
name: 💡 Feature Request | ||
about: Create a new ticket for a new feature request | ||
title: '' | ||
labels: 'enhancement' | ||
assignees: '' | ||
|
||
--- | ||
|
||
### Expected Behavior | ||
Describe the expected behavior here. | ||
|
||
### Specifications | ||
As a `user`, I would like to `action` so that `reason`. | ||
|
||
**Features:** | ||
- describe feature details here. | ||
|
||
**Development Tasks:** | ||
- [ ] Task 1 | ||
- [ ] Task 2 | ||
|
||
### Dependencies | ||
List any dependencies that are required for this feature by providing links to the issues or repositories. | ||
|
||
### References | ||
List any references that are related to this feature request. |
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,40 @@ | ||
name: Publish NuGet Package | ||
|
||
on: | ||
push: | ||
tags: | ||
- "v*.*.*" | ||
|
||
jobs: | ||
publish: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v3 | ||
|
||
- name: Setup .NET | ||
uses: actions/setup-dotnet@v3 | ||
with: | ||
dotnet-version: '8.0.x' | ||
|
||
- name: Restore dependencies | ||
run: dotnet restore | ||
|
||
- name: Get the version from git tags | ||
id: get_version | ||
run: | | ||
TAG=$(git describe --tags --abbrev=0) | ||
VERSION=${TAG#v} | ||
echo "VERSION=$VERSION" >> $GITHUB_ENV | ||
- name: Build the project | ||
run: dotnet build --configuration Release --no-restore | ||
|
||
- name: Pack the NuGet package | ||
run: dotnet pack --configuration Release --no-build --output ./nupkg -p:PackageVersion=${{ env.VERSION }} | ||
|
||
- name: Publish the NuGet package | ||
env: | ||
NUGET_API_KEY: ${{ secrets.NUGET_API_KEY }} | ||
run: dotnet nuget push ./nupkg/*.nupkg --api-key $NUGET_API_KEY --source https://api.nuget.org/v3/index.json |
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,46 @@ | ||
on: | ||
pull_request: | ||
types: [opened, synchronize, reopened] | ||
|
||
name: PR Static Code Analysis | ||
jobs: | ||
static-code-analysis: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Code Checkout | ||
uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 0 | ||
- uses: actions/setup-dotnet@v4 | ||
with: | ||
dotnet-version: '7.0' | ||
- name: Create temporary global.json | ||
run: echo '{"sdk":{"version":"7.0.x"}}' > ./global.json | ||
- name: Install protobuf | ||
run: sudo apt-get update && sudo apt-get install -y protobuf-compiler | ||
- name: Set up JDK 17 | ||
uses: actions/setup-java@v1 | ||
with: | ||
java-version: 17 | ||
- name: Cache SonarQube packages | ||
uses: actions/cache@v1 | ||
with: | ||
path: ~/.sonar/cache | ||
key: ${{ runner.os }}-sonar | ||
restore-keys: ${{ runner.os }}-sonar | ||
- name: Cache SonarQube scanner | ||
id: cache-sonar-scanner | ||
uses: actions/cache@v1 | ||
with: | ||
path: ./.sonar/scanner | ||
key: ${{ runner.os }}-sonar-scanner | ||
restore-keys: ${{ runner.os }}-sonar-scanner | ||
- name: Install SonarScanner for .NET | ||
run: dotnet tool update dotnet-sonarscanner --tool-path ./.sonar/scanner | ||
- name: Add .NET global tools to PATH | ||
run: echo "$HOME/.dotnet/tools" >> $GITHUB_PATH | ||
- name: Begin SonarQube analysis | ||
run: | | ||
./.sonar/scanner/dotnet-sonarscanner begin /k:"aefinder-cli" /d:sonar.host.url="${{ secrets.SONAR_HOST_URL }}" /d:sonar.token="${{ secrets.SONAR_TOKEN }}" | ||
dotnet build AeFinder.Cli.sln | ||
./.sonar/scanner/dotnet-sonarscanner end /d:sonar.token="${{ secrets.SONAR_TOKEN }}" |
Oops, something went wrong.