diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..5b41eca --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,80 @@ +name: CI + +on: + push: + branches: [dev, main] + pull_request: + branches: [dev, main] + +permissions: + contents: read + +env: + GOFLAGS: -buildvcs=false + GOWORK: "off" + GOPROXY: "direct" + GOSUMDB: "off" + +jobs: + test: + name: Test + Coverage + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v5 + with: + fetch-depth: 0 + - uses: actions/setup-go@v6 + with: + go-version: '1.26' + - name: Test with coverage + working-directory: go + run: go test -race -coverprofile=coverage.out -covermode=atomic -count=1 ./... + - name: Upload coverage to Codecov + uses: codecov/codecov-action@v5 + with: + token: ${{ secrets.CODECOV_TOKEN }} + files: go/coverage.out + flags: unittests + fail_ci_if_error: false + + lint: + name: golangci-lint + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v5 + - uses: actions/setup-go@v6 + with: + go-version: '1.26' + - uses: golangci/golangci-lint-action@v9 + with: + version: latest + working-directory: go + args: --timeout=5m --tests=false + + sonarcloud: + name: SonarCloud + runs-on: ubuntu-latest + needs: test + steps: + - uses: actions/checkout@v5 + with: + fetch-depth: 0 + - uses: actions/setup-go@v6 + with: + go-version: '1.26' + - name: Test for coverage + working-directory: go + run: go test -coverprofile=coverage.out -covermode=atomic -count=1 ./... + - name: SonarCloud Scan + uses: SonarSource/sonarqube-scan-action@v6 + env: + SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} + with: + args: > + -Dsonar.organization=dappcore + -Dsonar.projectKey=dappcore_app + -Dsonar.sources=go + -Dsonar.exclusions=**/vendor/**,**/third_party/**,**/.tmp/**,**/*_test.go + -Dsonar.tests=go + -Dsonar.test.inclusions=**/*_test.go + -Dsonar.go.coverage.reportPaths=go/coverage.out diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 0000000..e7aa8ff --- /dev/null +++ b/.gitmodules @@ -0,0 +1,16 @@ +[submodule "external/go"] + path = external/go + url = https://github.com/dappcore/go.git + branch = dev +[submodule "external/config"] + path = external/config + url = https://github.com/dappcore/config.git + branch = dev +[submodule "external/io"] + path = external/io + url = https://github.com/dappcore/go-io.git + branch = dev +[submodule "external/log"] + path = external/log + url = https://github.com/dappcore/go-log.git + branch = dev diff --git a/.woodpecker.yml b/.woodpecker.yml index 107f0e6..60358ee 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -14,7 +14,7 @@ steps: GOFLAGS: -buildvcs=false GOWORK: "off" commands: - - golangci-lint run --timeout=5m ./... + - cd go && golangci-lint run --timeout=5m ./... - name: go-test image: golang:1.26-alpine @@ -25,7 +25,7 @@ steps: CGO_ENABLED: "1" commands: - apk add --no-cache git build-base - - go test -race -coverprofile=coverage.out -covermode=atomic -count=1 ./... + - cd go && go test -race -coverprofile=coverage.out -covermode=atomic -count=1 ./... - name: sonar image: sonarsource/sonar-scanner-cli:latest depends_on: [go-test] diff --git a/CLAUDE.md b/CLAUDE.md index 730354c..6f2dd18 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -16,6 +16,40 @@ Reference: `docs/RFC.md` — **keystone spec**. Every other Core RFC exists to m 6. **Config** — apply template + vars via core/config 7. **Start** — hand the composed window to core/gui + unblock entry action +## Repo Layout + +Go module now lives under `go/` and the repo root is cross-language / metadata only: + +``` +core/app/ +├── go/ ← Go module root (dappco.re/go/app) +│ ├── *.go +│ ├── go.mod, go.sum +│ ├── cmd/ +│ ├── tests/ +│ ├── README.md → ../README.md +│ ├── CLAUDE.md → ../CLAUDE.md +│ ├── AGENTS.md → ../AGENTS.md +│ └── docs → ../docs +├── docs/ ← cross-language docs source +├── README.md ← repo index / overview +├── CLAUDE.md ← this repo guidance +├── AGENTS.md ← repo-level instructions +├── LICENSE/LICENCE +├── .woodpecker.yml +├── sonar-project.properties +└── .gitignore +``` + +## Go Resolution Modes + +This repo is intentionally single-module from `go/` with no `go.work` in use: + +| Mode | When | What runs | +|------|------|-----------| +| **Module mode (default)** | Local work from `go/` | `go test`, `go vet`, `go test ./...`, and CLI builds use `go.mod` directly. | +| **Repro/CI mode** | Verification scripts | Use explicit override: `GOWORK=off GOPROXY=direct GOSUMDB=off GOFLAGS=-mod=mod` for stable behavior and strict cache isolation. | + ## Dependency boundary CoreApp is the orchestrator. It does NOT own: diff --git a/README.md b/README.md index 9c4157f..a85d03f 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,21 @@ + + # core/app +> Lethean app installer + workspace manager — pkg discovery, manifest, integrity, runtime + +[![CI](https://github.com/dappcore/app/actions/workflows/ci.yml/badge.svg?branch=dev)](https://github.com/dappcore/app/actions/workflows/ci.yml) +[![Quality Gate](https://sonarcloud.io/api/project_badges/measure?project=dappcore_app&metric=alert_status)](https://sonarcloud.io/dashboard?id=dappcore_app) +[![Coverage](https://codecov.io/gh/dappcore/app/branch/dev/graph/badge.svg)](https://codecov.io/gh/dappcore/app) +[![Security Rating](https://sonarcloud.io/api/project_badges/measure?project=dappcore_app&metric=security_rating)](https://sonarcloud.io/dashboard?id=dappcore_app) +[![Maintainability Rating](https://sonarcloud.io/api/project_badges/measure?project=dappcore_app&metric=sqale_rating)](https://sonarcloud.io/dashboard?id=dappcore_app) +[![Reliability Rating](https://sonarcloud.io/api/project_badges/measure?project=dappcore_app&metric=reliability_rating)](https://sonarcloud.io/dashboard?id=dappcore_app) +[![Code Smells](https://sonarcloud.io/api/project_badges/measure?project=dappcore_app&metric=code_smells)](https://sonarcloud.io/dashboard?id=dappcore_app) +[![Lines of Code](https://sonarcloud.io/api/project_badges/measure?project=dappcore_app&metric=ncloc)](https://sonarcloud.io/dashboard?id=dappcore_app) +[![Go Reference](https://pkg.go.dev/badge/dappco.re/go/app.svg)](https://pkg.go.dev/dappco.re/go/app) +[![License: EUPL-1.2](https://img.shields.io/badge/License-EUPL--1.2-blue.svg)](https://eupl.eu/1.2/en/) + + The CoreApp keystone runtime — reads a `.core/view.yaml` manifest, runs the 7-step boot, enforces permissions, composes layout, starts the app. > "The keystone spec. Every other RFC exists to make this work." diff --git a/external/config b/external/config new file mode 160000 index 0000000..905216d --- /dev/null +++ b/external/config @@ -0,0 +1 @@ +Subproject commit 905216d06d66223d952b97a5002f44a87da909ea diff --git a/external/go b/external/go new file mode 160000 index 0000000..d661b70 --- /dev/null +++ b/external/go @@ -0,0 +1 @@ +Subproject commit d661b703e16183b3cbab101de189f688888a1174 diff --git a/external/io b/external/io new file mode 160000 index 0000000..789653d --- /dev/null +++ b/external/io @@ -0,0 +1 @@ +Subproject commit 789653dfc376383a3873993cdb875c8c717e4b05 diff --git a/external/log b/external/log new file mode 160000 index 0000000..df05298 --- /dev/null +++ b/external/log @@ -0,0 +1 @@ +Subproject commit df0529839b2ab786a6a3da374fa664867d5f9f09 diff --git a/go.work b/go.work new file mode 100644 index 0000000..10d283b --- /dev/null +++ b/go.work @@ -0,0 +1,12 @@ +go 1.26.2 + +// Workspace mode for development: pulls fresh code from external/ submodules. +// CI uses GOWORK=off to fall back to go/go.mod tags (reproducible). + +use ( + ./go + ./external/go + ./external/config + ./external/io + ./external/log +) diff --git a/go/CLAUDE.md b/go/CLAUDE.md new file mode 120000 index 0000000..949a29f --- /dev/null +++ b/go/CLAUDE.md @@ -0,0 +1 @@ +../CLAUDE.md \ No newline at end of file diff --git a/go/README.md b/go/README.md new file mode 120000 index 0000000..32d46ee --- /dev/null +++ b/go/README.md @@ -0,0 +1 @@ +../README.md \ No newline at end of file diff --git a/access.go b/go/access.go similarity index 100% rename from access.go rename to go/access.go diff --git a/access_test.go b/go/access_test.go similarity index 100% rename from access_test.go rename to go/access_test.go diff --git a/app.go b/go/app.go similarity index 100% rename from app.go rename to go/app.go diff --git a/app_test.go b/go/app_test.go similarity index 100% rename from app_test.go rename to go/app_test.go diff --git a/cmd/core-app/main.go b/go/cmd/core-app/main.go similarity index 100% rename from cmd/core-app/main.go rename to go/cmd/core-app/main.go diff --git a/cmd/core-app/main_test.go b/go/cmd/core-app/main_test.go similarity index 100% rename from cmd/core-app/main_test.go rename to go/cmd/core-app/main_test.go diff --git a/cmd/core-app/pkg.go b/go/cmd/core-app/pkg.go similarity index 100% rename from cmd/core-app/pkg.go rename to go/cmd/core-app/pkg.go diff --git a/cmd/core-app/pkg_marketplace_test.go b/go/cmd/core-app/pkg_marketplace_test.go similarity index 100% rename from cmd/core-app/pkg_marketplace_test.go rename to go/cmd/core-app/pkg_marketplace_test.go diff --git a/cmd/core-app/pkg_test.go b/go/cmd/core-app/pkg_test.go similarity index 100% rename from cmd/core-app/pkg_test.go rename to go/cmd/core-app/pkg_test.go diff --git a/cmd/core-app/sdk.go b/go/cmd/core-app/sdk.go similarity index 100% rename from cmd/core-app/sdk.go rename to go/cmd/core-app/sdk.go diff --git a/cmd/core-app/sdk_test.go b/go/cmd/core-app/sdk_test.go similarity index 100% rename from cmd/core-app/sdk_test.go rename to go/cmd/core-app/sdk_test.go diff --git a/compile.go b/go/compile.go similarity index 100% rename from compile.go rename to go/compile.go diff --git a/compile_json.go b/go/compile_json.go similarity index 100% rename from compile_json.go rename to go/compile_json.go diff --git a/compile_json_test.go b/go/compile_json_test.go similarity index 100% rename from compile_json_test.go rename to go/compile_json_test.go diff --git a/compile_test.go b/go/compile_test.go similarity index 100% rename from compile_test.go rename to go/compile_test.go diff --git a/conclave.go b/go/conclave.go similarity index 100% rename from conclave.go rename to go/conclave.go diff --git a/conclave_test.go b/go/conclave_test.go similarity index 100% rename from conclave_test.go rename to go/conclave_test.go diff --git a/config.go b/go/config.go similarity index 100% rename from config.go rename to go/config.go diff --git a/config_template.go b/go/config_template.go similarity index 100% rename from config_template.go rename to go/config_template.go diff --git a/config_template_example_test.go b/go/config_template_example_test.go similarity index 100% rename from config_template_example_test.go rename to go/config_template_example_test.go diff --git a/config_template_test.go b/go/config_template_test.go similarity index 100% rename from config_template_test.go rename to go/config_template_test.go diff --git a/config_test.go b/go/config_test.go similarity index 100% rename from config_test.go rename to go/config_test.go diff --git a/discover.go b/go/discover.go similarity index 100% rename from discover.go rename to go/discover.go diff --git a/discover_test.go b/go/discover_test.go similarity index 100% rename from discover_test.go rename to go/discover_test.go diff --git a/go/docs b/go/docs new file mode 120000 index 0000000..a9594bf --- /dev/null +++ b/go/docs @@ -0,0 +1 @@ +../docs \ No newline at end of file diff --git a/export_test.go b/go/export_test.go similarity index 100% rename from export_test.go rename to go/export_test.go diff --git a/go.mod b/go/go.mod similarity index 100% rename from go.mod rename to go/go.mod diff --git a/go.sum b/go/go.sum similarity index 100% rename from go.sum rename to go/go.sum diff --git a/host.go b/go/host.go similarity index 100% rename from host.go rename to go/host.go diff --git a/host_test.go b/go/host_test.go similarity index 100% rename from host_test.go rename to go/host_test.go diff --git a/integration_test.go b/go/integration_test.go similarity index 100% rename from integration_test.go rename to go/integration_test.go diff --git a/integrity.go b/go/integrity.go similarity index 100% rename from integrity.go rename to go/integrity.go diff --git a/layout.go b/go/layout.go similarity index 100% rename from layout.go rename to go/layout.go diff --git a/layout_test.go b/go/layout_test.go similarity index 100% rename from layout_test.go rename to go/layout_test.go diff --git a/marketplace.go b/go/marketplace.go similarity index 100% rename from marketplace.go rename to go/marketplace.go diff --git a/marketplace_install_test.go b/go/marketplace_install_test.go similarity index 100% rename from marketplace_install_test.go rename to go/marketplace_install_test.go diff --git a/marketplace_test.go b/go/marketplace_test.go similarity index 100% rename from marketplace_test.go rename to go/marketplace_test.go diff --git a/marketplace_update_test.go b/go/marketplace_update_test.go similarity index 100% rename from marketplace_update_test.go rename to go/marketplace_update_test.go diff --git a/marketplace_verify.go b/go/marketplace_verify.go similarity index 100% rename from marketplace_verify.go rename to go/marketplace_verify.go diff --git a/marketplace_verify_test.go b/go/marketplace_verify_test.go similarity index 100% rename from marketplace_verify_test.go rename to go/marketplace_verify_test.go diff --git a/modules.go b/go/modules.go similarity index 100% rename from modules.go rename to go/modules.go diff --git a/modules_test.go b/go/modules_test.go similarity index 100% rename from modules_test.go rename to go/modules_test.go diff --git a/permissions.go b/go/permissions.go similarity index 100% rename from permissions.go rename to go/permissions.go diff --git a/permissions_test.go b/go/permissions_test.go similarity index 100% rename from permissions_test.go rename to go/permissions_test.go diff --git a/pkg.go b/go/pkg.go similarity index 100% rename from pkg.go rename to go/pkg.go diff --git a/pkg_electron.go b/go/pkg_electron.go similarity index 100% rename from pkg_electron.go rename to go/pkg_electron.go diff --git a/pkg_electron_extract.go b/go/pkg_electron_extract.go similarity index 100% rename from pkg_electron_extract.go rename to go/pkg_electron_extract.go diff --git a/pkg_electron_extract_tar.go b/go/pkg_electron_extract_tar.go similarity index 100% rename from pkg_electron_extract_tar.go rename to go/pkg_electron_extract_tar.go diff --git a/pkg_electron_extract_tar_test.go b/go/pkg_electron_extract_tar_test.go similarity index 100% rename from pkg_electron_extract_tar_test.go rename to go/pkg_electron_extract_tar_test.go diff --git a/pkg_electron_extract_test.go b/go/pkg_electron_extract_test.go similarity index 100% rename from pkg_electron_extract_test.go rename to go/pkg_electron_extract_test.go diff --git a/pkg_electron_fetch.go b/go/pkg_electron_fetch.go similarity index 100% rename from pkg_electron_fetch.go rename to go/pkg_electron_fetch.go diff --git a/pkg_electron_fetch_test.go b/go/pkg_electron_fetch_test.go similarity index 100% rename from pkg_electron_fetch_test.go rename to go/pkg_electron_fetch_test.go diff --git a/pkg_electron_test.go b/go/pkg_electron_test.go similarity index 100% rename from pkg_electron_test.go rename to go/pkg_electron_test.go diff --git a/pkg_local_test.go b/go/pkg_local_test.go similarity index 100% rename from pkg_local_test.go rename to go/pkg_local_test.go diff --git a/pkg_pwa.go b/go/pkg_pwa.go similarity index 100% rename from pkg_pwa.go rename to go/pkg_pwa.go diff --git a/pkg_pwa_test.go b/go/pkg_pwa_test.go similarity index 100% rename from pkg_pwa_test.go rename to go/pkg_pwa_test.go diff --git a/pkg_repo.go b/go/pkg_repo.go similarity index 100% rename from pkg_repo.go rename to go/pkg_repo.go diff --git a/pkg_repo_test.go b/go/pkg_repo_test.go similarity index 100% rename from pkg_repo_test.go rename to go/pkg_repo_test.go diff --git a/pkg_test.go b/go/pkg_test.go similarity index 100% rename from pkg_test.go rename to go/pkg_test.go diff --git a/pkg_type.go b/go/pkg_type.go similarity index 100% rename from pkg_type.go rename to go/pkg_type.go diff --git a/pkg_type_test.go b/go/pkg_type_test.go similarity index 100% rename from pkg_type_test.go rename to go/pkg_type_test.go diff --git a/pkg_update_test.go b/go/pkg_update_test.go similarity index 100% rename from pkg_update_test.go rename to go/pkg_update_test.go diff --git a/pkg_web.go b/go/pkg_web.go similarity index 100% rename from pkg_web.go rename to go/pkg_web.go diff --git a/pkg_web_test.go b/go/pkg_web_test.go similarity index 100% rename from pkg_web_test.go rename to go/pkg_web_test.go diff --git a/pkg_wrap_example_test.go b/go/pkg_wrap_example_test.go similarity index 100% rename from pkg_wrap_example_test.go rename to go/pkg_wrap_example_test.go diff --git a/pkg_wrap_test.go b/go/pkg_wrap_test.go similarity index 100% rename from pkg_wrap_test.go rename to go/pkg_wrap_test.go diff --git a/plugin.go b/go/plugin.go similarity index 100% rename from plugin.go rename to go/plugin.go diff --git a/plugin_test.go b/go/plugin_test.go similarity index 100% rename from plugin_test.go rename to go/plugin_test.go diff --git a/pwa_runtime.go b/go/pwa_runtime.go similarity index 100% rename from pwa_runtime.go rename to go/pwa_runtime.go diff --git a/registry.go b/go/registry.go similarity index 100% rename from registry.go rename to go/registry.go diff --git a/registry_test.go b/go/registry_test.go similarity index 100% rename from registry_test.go rename to go/registry_test.go diff --git a/runtime.go b/go/runtime.go similarity index 100% rename from runtime.go rename to go/runtime.go diff --git a/runtime_process.go b/go/runtime_process.go similarity index 100% rename from runtime_process.go rename to go/runtime_process.go diff --git a/runtime_store.go b/go/runtime_store.go similarity index 100% rename from runtime_store.go rename to go/runtime_store.go diff --git a/runtime_store_internal_test.go b/go/runtime_store_internal_test.go similarity index 100% rename from runtime_store_internal_test.go rename to go/runtime_store_internal_test.go diff --git a/runtime_store_sigil_test.go b/go/runtime_store_sigil_test.go similarity index 100% rename from runtime_store_sigil_test.go rename to go/runtime_store_sigil_test.go diff --git a/runtime_store_test.go b/go/runtime_store_test.go similarity index 100% rename from runtime_store_test.go rename to go/runtime_store_test.go diff --git a/runtime_test.go b/go/runtime_test.go similarity index 100% rename from runtime_test.go rename to go/runtime_test.go diff --git a/sdk.go b/go/sdk.go similarity index 100% rename from sdk.go rename to go/sdk.go diff --git a/sdk_test.go b/go/sdk_test.go similarity index 100% rename from sdk_test.go rename to go/sdk_test.go diff --git a/sign.go b/go/sign.go similarity index 100% rename from sign.go rename to go/sign.go diff --git a/sign_test.go b/go/sign_test.go similarity index 100% rename from sign_test.go rename to go/sign_test.go diff --git a/start.go b/go/start.go similarity index 100% rename from start.go rename to go/start.go diff --git a/start_test.go b/go/start_test.go similarity index 100% rename from start_test.go rename to go/start_test.go diff --git a/store_test.go b/go/store_test.go similarity index 100% rename from store_test.go rename to go/store_test.go diff --git a/tests/cli/Taskfile.yaml b/go/tests/cli/Taskfile.yaml similarity index 100% rename from tests/cli/Taskfile.yaml rename to go/tests/cli/Taskfile.yaml diff --git a/tests/cli/app/Taskfile.yaml b/go/tests/cli/app/Taskfile.yaml similarity index 100% rename from tests/cli/app/Taskfile.yaml rename to go/tests/cli/app/Taskfile.yaml diff --git a/tests/cli/boot/Taskfile.yaml b/go/tests/cli/boot/Taskfile.yaml similarity index 100% rename from tests/cli/boot/Taskfile.yaml rename to go/tests/cli/boot/Taskfile.yaml diff --git a/tests/cli/boot/fixtures/project/.core/view.yaml b/go/tests/cli/boot/fixtures/project/.core/view.yaml similarity index 100% rename from tests/cli/boot/fixtures/project/.core/view.yaml rename to go/tests/cli/boot/fixtures/project/.core/view.yaml diff --git a/tests/cli/compile/Taskfile.yaml b/go/tests/cli/compile/Taskfile.yaml similarity index 100% rename from tests/cli/compile/Taskfile.yaml rename to go/tests/cli/compile/Taskfile.yaml diff --git a/tests/cli/compile/fixtures/project/.core/view.yaml b/go/tests/cli/compile/fixtures/project/.core/view.yaml similarity index 100% rename from tests/cli/compile/fixtures/project/.core/view.yaml rename to go/tests/cli/compile/fixtures/project/.core/view.yaml diff --git a/tests/cli/marketplace/Taskfile.yaml b/go/tests/cli/marketplace/Taskfile.yaml similarity index 100% rename from tests/cli/marketplace/Taskfile.yaml rename to go/tests/cli/marketplace/Taskfile.yaml diff --git a/tests/cli/marketplace/fixtures/home/.core/marketplace/index.json b/go/tests/cli/marketplace/fixtures/home/.core/marketplace/index.json similarity index 100% rename from tests/cli/marketplace/fixtures/home/.core/marketplace/index.json rename to go/tests/cli/marketplace/fixtures/home/.core/marketplace/index.json diff --git a/tests/cli/marketplace/fixtures/home/.core/marketplace/tools/index.json b/go/tests/cli/marketplace/fixtures/home/.core/marketplace/tools/index.json similarity index 100% rename from tests/cli/marketplace/fixtures/home/.core/marketplace/tools/index.json rename to go/tests/cli/marketplace/fixtures/home/.core/marketplace/tools/index.json diff --git a/tests/cli/pkg/Taskfile.yaml b/go/tests/cli/pkg/Taskfile.yaml similarity index 100% rename from tests/cli/pkg/Taskfile.yaml rename to go/tests/cli/pkg/Taskfile.yaml diff --git a/tests/cli/pkg/fixtures/home/.core/apps/ax10-pkg/.core/view.yaml b/go/tests/cli/pkg/fixtures/home/.core/apps/ax10-pkg/.core/view.yaml similarity index 100% rename from tests/cli/pkg/fixtures/home/.core/apps/ax10-pkg/.core/view.yaml rename to go/tests/cli/pkg/fixtures/home/.core/apps/ax10-pkg/.core/view.yaml diff --git a/tests/cli/sdk/Taskfile.yaml b/go/tests/cli/sdk/Taskfile.yaml similarity index 100% rename from tests/cli/sdk/Taskfile.yaml rename to go/tests/cli/sdk/Taskfile.yaml diff --git a/tests/cli/sdk/fixtures/project/.core/view.yaml b/go/tests/cli/sdk/fixtures/project/.core/view.yaml similarity index 100% rename from tests/cli/sdk/fixtures/project/.core/view.yaml rename to go/tests/cli/sdk/fixtures/project/.core/view.yaml diff --git a/tests/cli/sign/Taskfile.yaml b/go/tests/cli/sign/Taskfile.yaml similarity index 100% rename from tests/cli/sign/Taskfile.yaml rename to go/tests/cli/sign/Taskfile.yaml diff --git a/tests/cli/sign/fixtures/project/.core/view.yaml b/go/tests/cli/sign/fixtures/project/.core/view.yaml similarity index 100% rename from tests/cli/sign/fixtures/project/.core/view.yaml rename to go/tests/cli/sign/fixtures/project/.core/view.yaml diff --git a/validate.go b/go/validate.go similarity index 100% rename from validate.go rename to go/validate.go diff --git a/validate_test.go b/go/validate_test.go similarity index 100% rename from validate_test.go rename to go/validate_test.go diff --git a/verify.go b/go/verify.go similarity index 100% rename from verify.go rename to go/verify.go diff --git a/verify_test.go b/go/verify_test.go similarity index 100% rename from verify_test.go rename to go/verify_test.go diff --git a/watch.go b/go/watch.go similarity index 100% rename from watch.go rename to go/watch.go diff --git a/watch_test.go b/go/watch_test.go similarity index 100% rename from watch_test.go rename to go/watch_test.go diff --git a/workspace.go b/go/workspace.go similarity index 100% rename from workspace.go rename to go/workspace.go diff --git a/workspace_crypto_metadata.go b/go/workspace_crypto_metadata.go similarity index 100% rename from workspace_crypto_metadata.go rename to go/workspace_crypto_metadata.go diff --git a/workspace_crypto_metadata_test.go b/go/workspace_crypto_metadata_test.go similarity index 100% rename from workspace_crypto_metadata_test.go rename to go/workspace_crypto_metadata_test.go diff --git a/workspace_test.go b/go/workspace_test.go similarity index 100% rename from workspace_test.go rename to go/workspace_test.go diff --git a/yaml.go b/go/yaml.go similarity index 100% rename from yaml.go rename to go/yaml.go diff --git a/yaml_test.go b/go/yaml_test.go similarity index 100% rename from yaml_test.go rename to go/yaml_test.go diff --git a/sonar-project.properties b/sonar-project.properties index 1a4652d..81c3396 100644 --- a/sonar-project.properties +++ b/sonar-project.properties @@ -5,4 +5,4 @@ sonar.exclusions=**/vendor/**,**/third_party/**,**/.tmp/**,**/gomodcache/**,**/n sonar.tests=. sonar.test.inclusions=**/*_test.go,**/*.test.ts,**/*.test.js,**/*.spec.ts,**/*.spec.js sonar.test.exclusions=**/vendor/**,**/third_party/**,**/.tmp/**,**/gomodcache/**,**/node_modules/**,**/dist/**,**/build/** -sonar.go.coverage.reportPaths=coverage.out +sonar.go.coverage.reportPaths=go/coverage.out