Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
64 changes: 64 additions & 0 deletions .github/workflows/ci-core.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,8 @@
with:
persist-credentials: false
repository: smartcontractkit/chainlink
fetch-depth: 0 # fetch all history to determine changed files for PRs/pushes/merges

- uses: dorny/paths-filter@de90cc6fb38fc0963ad72b210f1f284cd68cea36 # v3.0.2
id: match-some
with:
Expand Down Expand Up @@ -96,6 +98,68 @@
all:
- '**'

- name: Decide which tests to run (rollout-only)
# To validate that this properly tests, we will run this beside the dorny/paths-filter actions
# before using it's output to actually gate any jobs.
# See: https://github.com/smartcontractkit/chainlink/commit/85434059d7ed24500107d3074f432dc0d2a88006 for end-state.
id: triggers
uses: smartcontractkit/.github/actions/advanced-triggers@advanced-triggers/v1

Check warning on line 106 in .github/workflows/ci-core.yml

View workflow job for this annotation

GitHub Actions / Validate Workflow Changes

1. Action is using node20. Versions older than node24 are being deprecated. Use a newer version of the action if possible. (node-version / warning)
with:
file-sets: |
go-files:
- "**/*.go"
- "**/go.mod"
- "**/go.sum"
core-files:
- "core/**"
all-test-files:
- "**/testdata/**"
- "**/*_test.go"
core-test-files:
- "testdata/**"
- "core/**/testdata/**"
- "core/**/*_test.go"
e2e-tests-files:
- "system-tests/**"
- "integration-tests/**"
workflow-files:
- ".github/workflows/ci-core.yml"
- ".github/actions/**/*.y*ml"
deployment-files:
- "deployment/**"
# Note:
# - pull_request, merge_group, and push events will resolve to true if any changed files match the path/glob patterns
# - exclusion-sets/negations are applied first, and therefore filter all changed files before inclusion sets are applied
# - by default these will resolve to true for schedule, and workflow_dispatch events
triggers: |
core-tests:
exclusion-sets: [ e2e-tests-files, deployment-files ]
inclusion-sets: [ go-files, core-files, all-test-files, workflow-files ]
paths:
- "tools/bin/go_core_tests"
core-fuzz-tests:
exclusion-sets: [ e2e-tests-files, deployment-files ]
inclusion-sets: [ go-files, core-files, all-test-files, workflow-files ]
paths:
- "!**/testdata/**"
- "**/fuzz/**"
- "tools/bin/go_core_fuzz"
core-race-tests:
exclusion-sets: [ e2e-tests-files, deployment-files ]
inclusion-sets: [ go-files, core-files, all-test-files, workflow-files ]
paths:
- "tools/bin/go_core_race_tests"
core-integration-tests:
exclusion-sets: [ e2e-tests-files, deployment-files ]
inclusion-sets: [ go-files, core-files, all-test-files, workflow-files ]
paths:
- "tools/bin/go_core_tests_integration"
deployment-tests:
exclusion-sets: [ e2e-tests-files, core-test-files ]
inclusion-sets: [ go-files, core-files, deployment-files, workflow-files ]
paths:
- "tools/bin/go_core_ccip_deployment_tests"

- name: Changed modules
id: changed-modules
uses: smartcontractkit/.github/actions/changed-modules-go@changed-modules-go/v1
Expand Down
Loading