Skip to content

Add GitHub Copilot instructions adapter for the .ai folder #2537

Add GitHub Copilot instructions adapter for the .ai folder

Add GitHub Copilot instructions adapter for the .ai folder #2537

Workflow file for this run

name: ASP.NET Core CI
on:
push:
branches: [ develop, main ]
pull_request:
branches: [ develop, main ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup .NET Core
uses: actions/setup-dotnet@v4
with:
dotnet-version: 10.0.301
- name: Restore
run: dotnet restore ./GrandNode.sln
- name: Build with dotnet
run: dotnet build ./GrandNode.sln --configuration Release
- name: Start Docker for Mongodb
run: docker run -d -p 27017:27017 mongo
- name: Wait for MongoDB to be ready
run: |
for i in {1..30}; do
nc -z localhost 27017 && echo "MongoDB is up" && exit 0
sleep 2
done
echo "MongoDB did not become ready" && exit 1
- name: Unit tests
run: ./.github/scripts/run-tests.sh Release