# Four include kinds in one document. A resolver has to distinguish local paths, another project's
# file at a ref, a remote URL, and a bundled template, and must not fetch anything to parse it.
include:
  - local: /ci/templates/build.yml
  - local: "/ci/templates/*.yml"
  - project: example-org/ci-templates
    ref: v3.2.0
    file:
      - /jobs/test.yml
      - /jobs/lint.yml
  - remote: "https://ci.example.invalid/shared/security.yml"
  - template: Jobs/Code-Quality.gitlab-ci.yml

stages: [build, test, quality]

build:
  extends: .shared_build
  stage: build

lint:
  extends: .shared_lint
  stage: test
