Skip to content

Merge pull request #213 from NDDev-OpenNetwork/fix/released-public-pr… #325

Merge pull request #213 from NDDev-OpenNetwork/fix/released-public-pr…

Merge pull request #213 from NDDev-OpenNetwork/fix/released-public-pr… #325

Workflow file for this run

# GENERATED FILE - DO NOT EDIT DIRECTLY
# generator: gds
# bundle: 0.9.7-dev
# source-tree-digest: sha256:ff0bdb5a3aecc647e785a571e5b08f4d47afdf4b9865139b63670f7636ed0df0
# input-digest: sha256:847d847bf309749351054160ec089ef7f7d22a1969c26a3eb82ca69fa58beb23
# output-digest: sha256:4ef1ee2fcc42927eaedef9c85f7b421f87e5cc75ff7055ef520216a00f7d4b74
# edit-source:
# - .gds/repository.yaml
# - policies/base/repository-default.yaml
# - policies/repositories/github-device-sync.yaml
# - policies/roles/public-module.yaml
# - policies/stacks/continuous-development.yaml
# - templates/agents/repository.md.tmpl
# - templates/github-actions/go.yml.tmpl
# - templates/harnesses/claude.md.tmpl
name: gds-ci
on:
pull_request:
branches:
- "main"
push:
branches:
- "main"
permissions: {}
concurrency:
group: gds-ci-${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
fast:
name: GDS fast
permissions:
contents: read
uses: NDDev-OpenNetwork/ci-workflows/.github/workflows/go-ci.yml@a7b90bdf1ac12465cbd07072e3360442cfc8eec6
with:
fetch_depth: 0
# Public hosted CI uses GitHub's service cache; the pinned reusable
# workflow owns cache keys and invalidation, so no runner-local state is trusted.
cache: true
runner: "ubuntu-latest"
go_version: "1.27.1"
# Declared fast commands own their build scope; the complete build is below.
build_command: ""
test_command: "scripts/validate_shell.sh && scripts/validate_go_core.sh --fast"
timeout_minutes: 30
pr-required:
name: GDS PR required
# Run the declared fast checks first. Repositories can keep this phase
# inexpensive and reserve their full test/build commands for this job.
needs: fast
permissions:
contents: read
uses: NDDev-OpenNetwork/ci-workflows/.github/workflows/go-ci.yml@a7b90bdf1ac12465cbd07072e3360442cfc8eec6
with:
fetch_depth: 0
cache: true
runner: "ubuntu-latest"
go_version: "1.27.1"
build_command: "go build -trimpath ./core/cmd/gds"
test_command: "go test ./... && python3 -m pip install --quiet --require-hashes -r requirements/test.txt && python3 -m pytest"
timeout_minutes: 30