diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6554d59..f27e611 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,7 +1,18 @@ +name: Continuous Integration + +# runs on +# * pushes and pull requests on the "main" (pull request only for specific paths) +# * manual trigger + on: push: - branches: - - main + branches: [ "main", "feature/*" ] + + pull_request: + branches: [ "main", "feature/*" ] + + workflow_dispatch: + jobs: build: runs-on: ubuntu-latest diff --git a/src/DataStax.AstraDB.DataApi/Tables/Table.cs b/src/DataStax.AstraDB.DataApi/Tables/Table.cs index df4cca0..b0c1416 100644 --- a/src/DataStax.AstraDB.DataApi/Tables/Table.cs +++ b/src/DataStax.AstraDB.DataApi/Tables/Table.cs @@ -1084,12 +1084,6 @@ private List GetOptionsTree() return optionsTree.ToList(); } - private List GetOptionsTree() - { - var optionsTree = _commandOptions == null ? _database.OptionsTree : _database.OptionsTree.Concat(new[] { _commandOptions }); - return optionsTree.ToList(); - } - internal Command CreateCommand(string name) { var optionsTree = GetOptionsTree().ToArray();