Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
37 changes: 37 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
name: CI

# Run CI checks on pull requests and commits to main branch
on:
push:
branches:
- main
pull_request:
branches:
- main

jobs:
test:
runs-on: ubuntu-latest

steps:
# Step 1: Checkout the repository
- name: Checkout repository
uses: actions/checkout@v3

# Step 2: Setup .NET SDK
- name: Setup .NET
uses: actions/setup-dotnet@v3
with:
dotnet-version: '8.0.x'

# Step 3: Restore dependencies
- name: Restore dependencies
run: dotnet restore

# Step 4: Build the project
- name: Build
run: dotnet build --configuration Release --no-restore

# Step 5: Run tests
- name: Test
run: dotnet test --configuration Release --no-build --verbosity normal
4 changes: 2 additions & 2 deletions Foundation.Data.Doublets.Cli/AdvancedMixedQueryProcessor.cs
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
using Platform.Delegates;
using Platform.Data;
using Platform.Data.Doublets;
using Platform.Protocols.Lino;
using LinoLink = Platform.Protocols.Lino.Link<string>;
using Link.Foundation.Links.Notation;
using LinoLink = Link.Foundation.Links.Notation.Link<string>;
using DoubletLink = Platform.Data.Doublets.Link<uint>;

namespace Foundation.Data.Doublets.Cli
Expand Down
4 changes: 2 additions & 2 deletions Foundation.Data.Doublets.Cli/BasicQueryProcessor.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
using Platform.Data.Doublets;
using Platform.Protocols.Lino;
using Link.Foundation.Links.Notation;

using LinoLink = Platform.Protocols.Lino.Link<string>;
using LinoLink = Link.Foundation.Links.Notation.Link<string>;
using DoubletLink = Platform.Data.Doublets.Link<uint>;

namespace Foundation.Data.Doublets.Cli
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<Authors>link-foundation</Authors>
<Description>A CLI tool for links manipulation.</Description>
<PackageId>clink</PackageId>
<Version>2.2.2</Version>
<Version>2.3.0</Version>
<PackageLicenseExpression>Unlicense</PackageLicenseExpression>
<RepositoryUrl>https://github.com/link-foundation/link-cli</RepositoryUrl>
</PropertyGroup>
Expand All @@ -24,7 +24,7 @@
<PackageReference Include="Platform.Data" Version="0.16.1" />
<PackageReference Include="Platform.Data.Doublets" Version="0.18.1" />
<PackageReference Include="Platform.Data.Doublets.Sequences" Version="0.6.5" />
<PackageReference Include="Platform.Protocols.Lino" Version="0.4.5" />
<PackageReference Include="Link.Foundation.Links.Notation" Version="0.11.2" />
<PackageReference Include="System.CommandLine" Version="2.0.0-beta4.22272.1" />
</ItemGroup>

Expand Down
4 changes: 2 additions & 2 deletions Foundation.Data.Doublets.Cli/MixedQueryProcessor.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
using Platform.Data.Doublets;
using Platform.Protocols.Lino;
using Link.Foundation.Links.Notation;

using LinoLink = Platform.Protocols.Lino.Link<string>;
using LinoLink = Link.Foundation.Links.Notation.Link<string>;
using DoubletLink = Platform.Data.Doublets.Link<uint>;
using Platform.Data;
using Platform.Delegates;
Expand Down
2 changes: 1 addition & 1 deletion Foundation.Data.Doublets.Cli/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
using Platform.Data;
using Platform.Data.Doublets;
using Platform.Data.Doublets.Memory.United.Generic;
using Platform.Protocols.Lino;
using Link.Foundation.Links.Notation;

using static Foundation.Data.Doublets.Cli.ChangesSimplifier;
using DoubletLink = Platform.Data.Doublets.Link<uint>;
Expand Down