diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..3dff70b --- /dev/null +++ b/.github/workflows/ci.yml @@ -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 diff --git a/Foundation.Data.Doublets.Cli/AdvancedMixedQueryProcessor.cs b/Foundation.Data.Doublets.Cli/AdvancedMixedQueryProcessor.cs index a51417b..2c5d162 100644 --- a/Foundation.Data.Doublets.Cli/AdvancedMixedQueryProcessor.cs +++ b/Foundation.Data.Doublets.Cli/AdvancedMixedQueryProcessor.cs @@ -1,8 +1,8 @@ using Platform.Delegates; using Platform.Data; using Platform.Data.Doublets; -using Platform.Protocols.Lino; -using LinoLink = Platform.Protocols.Lino.Link; +using Link.Foundation.Links.Notation; +using LinoLink = Link.Foundation.Links.Notation.Link; using DoubletLink = Platform.Data.Doublets.Link; namespace Foundation.Data.Doublets.Cli diff --git a/Foundation.Data.Doublets.Cli/BasicQueryProcessor.cs b/Foundation.Data.Doublets.Cli/BasicQueryProcessor.cs index 0f8373a..4bab672 100644 --- a/Foundation.Data.Doublets.Cli/BasicQueryProcessor.cs +++ b/Foundation.Data.Doublets.Cli/BasicQueryProcessor.cs @@ -1,7 +1,7 @@ using Platform.Data.Doublets; -using Platform.Protocols.Lino; +using Link.Foundation.Links.Notation; -using LinoLink = Platform.Protocols.Lino.Link; +using LinoLink = Link.Foundation.Links.Notation.Link; using DoubletLink = Platform.Data.Doublets.Link; namespace Foundation.Data.Doublets.Cli diff --git a/Foundation.Data.Doublets.Cli/Foundation.Data.Doublets.Cli.csproj b/Foundation.Data.Doublets.Cli/Foundation.Data.Doublets.Cli.csproj index 1d8f9ab..ce15b54 100644 --- a/Foundation.Data.Doublets.Cli/Foundation.Data.Doublets.Cli.csproj +++ b/Foundation.Data.Doublets.Cli/Foundation.Data.Doublets.Cli.csproj @@ -15,7 +15,7 @@ link-foundation A CLI tool for links manipulation. clink - 2.2.2 + 2.3.0 Unlicense https://github.com/link-foundation/link-cli @@ -24,7 +24,7 @@ - + diff --git a/Foundation.Data.Doublets.Cli/MixedQueryProcessor.cs b/Foundation.Data.Doublets.Cli/MixedQueryProcessor.cs index 1bbfabb..173cea1 100644 --- a/Foundation.Data.Doublets.Cli/MixedQueryProcessor.cs +++ b/Foundation.Data.Doublets.Cli/MixedQueryProcessor.cs @@ -1,7 +1,7 @@ using Platform.Data.Doublets; -using Platform.Protocols.Lino; +using Link.Foundation.Links.Notation; -using LinoLink = Platform.Protocols.Lino.Link; +using LinoLink = Link.Foundation.Links.Notation.Link; using DoubletLink = Platform.Data.Doublets.Link; using Platform.Data; using Platform.Delegates; diff --git a/Foundation.Data.Doublets.Cli/Program.cs b/Foundation.Data.Doublets.Cli/Program.cs index 1f9bfed..dbd89f3 100644 --- a/Foundation.Data.Doublets.Cli/Program.cs +++ b/Foundation.Data.Doublets.Cli/Program.cs @@ -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;