Skip to content

Commit

Permalink
Merge pull request #428 from SaintAngeLs/paralax_transition
Browse files Browse the repository at this point in the history
(#425) transition to paralax framework
  • Loading branch information
SaintAngeLs authored Oct 3, 2024
2 parents 91fb896 + b6fa430 commit 2ecd8e2
Show file tree
Hide file tree
Showing 2,135 changed files with 89,290 additions and 5,534 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build_microservices.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,10 @@ jobs:
with:
fetch-depth: 0

- name: Setup .NET 8.0.x
- name: Setup .NET 8.0.401
uses: actions/setup-dotnet@v2
with:
dotnet-version: '8.0.x'
dotnet-version: '8.0.401'

- name: Restore dependencies for ${{ matrix.project }}
run: dotnet restore ${{ matrix.project }}
Expand Down
125 changes: 111 additions & 14 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,23 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Remove global.json (if exists)
run: |
if [ -f "global.json" ]; then
rm global.json
fi
- uses: actions/setup-dotnet@v3
with:
dotnet-version: '3.1.x'
dotnet-version: '8.x'
- name: Install .NET 8.x
run: |
sudo apt-get update
sudo apt-get install -y dotnet-sdk-8.0
- name: Install ICU package
run: sudo apt-get update && sudo apt-get install -y libicu-dev
- name: Set globalization invariant mode
run: |
export DOTNET_SYSTEM_GLOBALIZATION_INVARIANT=true
- name: Initialize CodeQL
uses: github/codeql-action/init@v3
with:
Expand All @@ -37,9 +47,14 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Remove global.json (if exists)
run: |
if [ -f "global.json" ]; then
rm global.json
fi
- uses: actions/setup-dotnet@v3
with:
dotnet-version: '3.1.x'
dotnet-version: '8.x'
- name: Install .NET 8.x
run: |
sudo apt-get update
Expand All @@ -61,9 +76,14 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Remove global.json (if exists)
run: |
if [ -f "global.json" ]; then
rm global.json
fi
- uses: actions/setup-dotnet@v3
with:
dotnet-version: '3.1.x'
dotnet-version: '8.x'
- name: Install .NET 8.x
run: |
sudo apt-get update
Expand All @@ -85,13 +105,20 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Remove global.json (if exists)
run: |
if [ -f "global.json" ]; then
rm global.json
fi
- uses: actions/setup-dotnet@v3
with:
dotnet-version: '3.1.x'
dotnet-version: '8.x'
- name: Install .NET 8.x
run: |
sudo apt-get update
sudo apt-get install -y dotnet-sdk-8.0
- name: Install ICU package
run: sudo apt-get install -y libicu-dev
- name: Initialize CodeQL
uses: github/codeql-action/init@v3
with:
Expand All @@ -109,13 +136,20 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Remove global.json (if exists)
run: |
if [ -f "global.json" ]; then
rm global.json
fi
- uses: actions/setup-dotnet@v3
with:
dotnet-version: '3.1.x'
dotnet-version: '8.x'
- name: Install .NET 8.x
run: |
sudo apt-get update
sudo apt-get install -y dotnet-sdk-8.0
- name: Install ICU package
run: sudo apt-get install -y libicu-dev
- name: Initialize CodeQL
uses: github/codeql-action/init@v3
with:
Expand All @@ -133,13 +167,20 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Remove global.json (if exists)
run: |
if [ -f "global.json" ]; then
rm global.json
fi
- uses: actions/setup-dotnet@v3
with:
dotnet-version: '3.1.x'
dotnet-version: '8.x'
- name: Install .NET 8.x
run: |
sudo apt-get update
sudo apt-get install -y dotnet-sdk-8.0
- name: Install ICU package
run: sudo apt-get install -y libicu-dev
- name: Initialize CodeQL
uses: github/codeql-action/init@v3
with:
Expand All @@ -157,13 +198,20 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Remove global.json (if exists)
run: |
if [ -f "global.json" ]; then
rm global.json
fi
- uses: actions/setup-dotnet@v3
with:
dotnet-version: '3.1.x'
dotnet-version: '8.x'
- name: Install .NET 8.x
run: |
sudo apt-get update
sudo apt-get install -y dotnet-sdk-8.0
- name: Install ICU package
run: sudo apt-get install -y libicu-dev
- name: Initialize CodeQL
uses: github/codeql-action/init@v3
with:
Expand All @@ -181,13 +229,20 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Remove global.json (if exists)
run: |
if [ -f "global.json" ]; then
rm global.json
fi
- uses: actions/setup-dotnet@v3
with:
dotnet-version: '3.1.x'
dotnet-version: '8.x'
- name: Install .NET 8.x
run: |
sudo apt-get update
sudo apt-get install -y dotnet-sdk-8.0
- name: Install ICU package
run: sudo apt-get install -y libicu-dev
- name: Initialize CodeQL
uses: github/codeql-action/init@v3
with:
Expand All @@ -205,13 +260,20 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Remove global.json (if exists)
run: |
if [ -f "global.json" ]; then
rm global.json
fi
- uses: actions/setup-dotnet@v3
with:
dotnet-version: '3.1.x'
dotnet-version: '8.x'
- name: Install .NET 8.x
run: |
sudo apt-get update
sudo apt-get install -y dotnet-sdk-8.0
- name: Install ICU package
run: sudo apt-get install -y libicu-dev
- name: Initialize CodeQL
uses: github/codeql-action/init@v3
with:
Expand All @@ -229,13 +291,20 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Remove global.json (if exists)
run: |
if [ -f "global.json" ]; then
rm global.json
fi
- uses: actions/setup-dotnet@v3
with:
dotnet-version: '3.1.x'
dotnet-version: '8.x'
- name: Install .NET 8.x
run: |
sudo apt-get update
sudo apt-get install -y dotnet-sdk-8.0
- name: Install ICU package
run: sudo apt-get install -y libicu-dev
- name: Initialize CodeQL
uses: github/codeql-action/init@v3
with:
Expand All @@ -253,13 +322,20 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Remove global.json (if exists)
run: |
if [ -f "global.json" ]; then
rm global.json
fi
- uses: actions/setup-dotnet@v3
with:
dotnet-version: '3.1.x'
dotnet-version: '8.x'
- name: Install .NET 8.x
run: |
sudo apt-get update
sudo apt-get install -y dotnet-sdk-8.0
- name: Install ICU package
run: sudo apt-get install -y libicu-dev
- name: Initialize CodeQL
uses: github/codeql-action/init@v3
with:
Expand All @@ -277,13 +353,20 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Remove global.json (if exists)
run: |
if [ -f "global.json" ]; then
rm global.json
fi
- uses: actions/setup-dotnet@v3
with:
dotnet-version: '3.1.x'
dotnet-version: '8.x'
- name: Install .NET 8.x
run: |
sudo apt-get update
sudo apt-get install -y dotnet-sdk-8.0
- name: Install ICU package
run: sudo apt-get install -y libicu-dev
- name: Initialize CodeQL
uses: github/codeql-action/init@v3
with:
Expand All @@ -301,13 +384,20 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Remove global.json (if exists)
run: |
if [ -f "global.json" ]; then
rm global.json
fi
- uses: actions/setup-dotnet@v3
with:
dotnet-version: '3.1.x'
dotnet-version: '8.x'
- name: Install .NET 8.x
run: |
sudo apt-get update
sudo apt-get install -y dotnet-sdk-8.0
- name: Install ICU package
run: sudo apt-get install -y libicu-dev
- name: Initialize CodeQL
uses: github/codeql-action/init@v3
with:
Expand All @@ -325,13 +415,20 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Remove global.json (if exists)
run: |
if [ -f "global.json" ]; then
rm global.json
fi
- uses: actions/setup-dotnet@v3
with:
dotnet-version: '3.1.x'
dotnet-version: '8.x'
- name: Install .NET 8.x
run: |
sudo apt-get update
sudo apt-get install -y dotnet-sdk-8.0
- name: Install ICU package
run: sudo apt-get install -y libicu-dev
- name: Initialize CodeQL
uses: github/codeql-action/init@v3
with:
Expand Down
51 changes: 51 additions & 0 deletions .github/workflows/issue_opened_responder.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
name: Automatic Issue Responder

on:
issues:
types: [opened]

jobs:
issue-response:
runs-on: ubuntu-latest
steps:
- name: Post a thank you comment on the new issue
uses: actions/github-script@v5
with:
script: |
const issueNumber = context.issue.number;
const issueTitle = context.payload.issue.title;
const owner = context.payload.repository.owner.login;
const repo = context.payload.repository.name;
github.issues.createComment({
owner: owner,
repo: repo,
issue_number: issueNumber,
body: `
🌟 **Thank you for your contribution to Astravent!** 🌟
We truly appreciate your effort in helping improve our distributed project. Every issue helps make Astravent better, and your feedback brings us closer to providing a more robust and seamless experience for all.
Our team, including the code owners, has been notified and will carefully review your issue. In the meantime, if you have any additional context or updates to share, feel free to add them to this thread.
We're excited to see where your contribution leads! 🚀
Stay awesome,
The Astravent Team
`
});
- name: Notify the code owner via issue comment
uses: actions/github-script@v5
with:
script: |
const issueNumber = context.issue.number;
const codeOwner = "CODEOWNER_USERNAME"; // Replace with the GitHub username of the code owner
// Notify the code owner by mentioning them in the issue comment
github.issues.createComment({
owner: context.repo.owner,
repo: context.repo.repo,
issue_number: issueNumber,
body: `@${codeOwner}, a new issue (#${issueNumber}) has been created and may require your attention.`
});
5 changes: 5 additions & 0 deletions .github/workflows/ossaranalyzer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,11 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v4

- name: Remove global.json (if exists)
run: |
if [ -f "global.json" ]; then
rm global.json
fi
- name: Run OSSAR
uses: github/ossar-action@v1
id: ossar
Expand Down
Loading

0 comments on commit 2ecd8e2

Please sign in to comment.