Skip to content
Draft
Show file tree
Hide file tree
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
5 changes: 5 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,11 @@ tmp/
contracts/node_modules
examples/

.changeset/
.github/
docs/
fuzz/

devenv/
deployment/
integration/
Expand Down
6 changes: 3 additions & 3 deletions .github/actions/golangci-lint/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,15 +27,15 @@ runs:
using: composite
steps:
- name: Checkout repo (full)
uses: actions/checkout@v4
uses: actions/checkout@v6
# Only do a full checkout on merge_groups
if: github.event_name == 'merge_group'
with:
persist-credentials: false
fetch-depth: 0

- name: Checkout repo
uses: actions/checkout@v4
uses: actions/checkout@v6
if: github.event_name != 'merge_group'
with:
persist-credentials: false
Expand Down Expand Up @@ -109,7 +109,7 @@ runs:
- name: Store Golangci-lint report artifact
if: always()
id: upload-artifact
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v7
with:
# Use a unique suffix for each lint report artifact to avoid duplication errors
name: golangci-lint-report-${{ steps.suffix.outputs.suffix }}
Expand Down
5 changes: 2 additions & 3 deletions .github/actions/setup-solana/build-contracts/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ runs:
using: composite
steps:
- name: Checkout chainlink-ccip
uses: actions/checkout@v4
uses: actions/checkout@v6
with:
repository: smartcontractkit/chainlink-ccip
path: chainlink-ccip
Expand Down Expand Up @@ -57,7 +57,6 @@ runs:
echo "exists=false" >> $GITHUB_ENV
fi


- name: Download artifact if it exists
if: env.exists == 'true'
shell: bash
Expand All @@ -77,7 +76,7 @@ runs:
- name: Upload artifact (if newly built)
if: env.exists == 'false'
continue-on-error: true # don't fail if the upload fails, it might conflict with another job
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v7
with:
name: ${{ env.ARTIFACT_NAME }}
path: chainlink-ccip/chains/solana/contracts/target/deploy/*.so
4 changes: 2 additions & 2 deletions .github/workflows/bash-scripts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
bash-scripts-src: ${{ steps.bash-scripts.outputs.src }}
steps:
- name: Checkout the repo
uses: actions/checkout@v4
uses: actions/checkout@v6
with:
persist-credentials: false
- uses: dorny/paths-filter@de90cc6fb38fc0963ad72b210f1f284cd68cea36 # v3.0.2
Expand All @@ -27,7 +27,7 @@ jobs:
needs: [changes]
steps:
- name: Checkout the repo
uses: actions/checkout@v4
uses: actions/checkout@v6
with:
persist-credentials: false
- name: Run ShellCheck
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
prerelease-phase: ${{ steps.detect-prerelease-phase.outputs.prerelease-phase }}
is-hotfix: ${{ steps.detect-hotfix.outputs.is-hotfix }}
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v6
with:
persist-credentials: false

Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/chain-selectors-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,12 @@ on:
branches:
- release/*


jobs:
verify-version:
runs-on: ubuntu-latest
steps:
- name: Checkout Repo
uses: actions/checkout@v4
uses: actions/checkout@v6
with:
persist-credentials: false

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/changeset.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
uses: actions/checkout@v6
with:
persist-credentials: false
fetch-depth: 0
Expand Down Expand Up @@ -93,7 +93,7 @@ jobs:
run: echo "top_level_dir=$(pwd)" >> $GITHUB_OUTPUT

- name: Checkout .Github repository
uses: actions/checkout@v4
uses: actions/checkout@v6
with:
persist-credentials: false
repository: smartcontractkit/.github
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/changesets-preview-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
pull-requests: write
steps:
- name: Checkout repository
uses: actions/checkout@v4
uses: actions/checkout@v6
with:
persist-credentials: false

Expand Down
22 changes: 11 additions & 11 deletions .github/workflows/ci-core.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout the repo
uses: actions/checkout@v4
uses: actions/checkout@v6
with:
persist-credentials: false
repository: smartcontractkit/chainlink
Expand Down Expand Up @@ -112,7 +112,7 @@ jobs:

golangci:
name: GolangCI Lint
needs: [filter, run-frequency ]
needs: [filter, run-frequency]
# We don't directly merge dependabot PRs to not waste the resources.
if: ${{ needs.filter.outputs.affected-modules != '[]' && github.event_name != 'merge_group' && github.actor != 'dependabot[bot]' }}
permissions:
Expand All @@ -133,7 +133,7 @@ jobs:
metrics: cpu,network,memory,disk

- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v6
with:
persist-credentials: false

Expand Down Expand Up @@ -238,7 +238,7 @@ jobs:
name: Core Tests (${{ matrix.type.cmd }}) # Be careful modifying the job name, as it is used to fetch the job URL
# We don't directly merge dependabot PRs, so let's not waste the resources
if: ${{ github.actor != 'dependabot[bot]' }}
needs: [filter, run-frequency ]
needs: [filter, run-frequency]
timeout-minutes: 60
# Use ubuntu-latest for jobs that will be skipped
runs-on: ${{ matrix.type.should-run == 'true' && matrix.type.os || 'ubuntu-latest' }}
Expand All @@ -254,7 +254,7 @@ jobs:

- name: Checkout the repo
if: ${{ matrix.type.should-run == 'true' }}
uses: actions/checkout@v4
uses: actions/checkout@v6
with:
persist-credentials: false

Expand Down Expand Up @@ -376,7 +376,7 @@ jobs:

- name: Store logs artifacts
if: ${{ always() && matrix.type.should-run == 'true' }}
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v7
with:
name: ${{ matrix.type.cmd }}_logs
path: |
Expand Down Expand Up @@ -411,7 +411,7 @@ jobs:
if: ${{ needs.filter.outputs.should-run-core-tests == 'true' }}
steps:
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v6

- name: Setup Go
uses: ./.github/actions/setup-go
Expand All @@ -426,7 +426,7 @@ jobs:

- name: Store test report artifacts
if: ${{ always() }}
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v7
with:
name: go_core_scripts_tests_logs
path: |
Expand All @@ -442,7 +442,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout the repo
uses: actions/checkout@v4
uses: actions/checkout@v6
with:
persist-credentials: false
fetch-depth: 0 # fetches all history for all tags and branches to provide more metadata for sonar reports
Expand Down Expand Up @@ -545,7 +545,7 @@ jobs:
run:
shell: bash
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v6
with:
persist-credentials: false
- name: Setup Go
Expand Down Expand Up @@ -604,7 +604,7 @@ jobs:
name: Misc
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v6
with:
persist-credentials: false
- name: Setup go
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci-protobuf.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout repo
uses: actions/checkout@v4
uses: actions/checkout@v6
with:
persist-credentials: false

Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/client-compatibility-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ jobs:
dependency_changed: ${{ steps.changes.outputs.dependency_changed }}
steps:
- name: Checkout code
uses: actions/checkout@v4
uses: actions/checkout@v6
with:
persist-credentials: false
fetch-depth: 0
Expand Down Expand Up @@ -344,7 +344,7 @@ jobs:
needs: [should-run, select-versions]
steps:
- name: Checkout the repo
uses: actions/checkout@v4
uses: actions/checkout@v6
with:
persist-credentials: false
ref: ${{ needs.select-versions.outputs.chainlink_version }}
Expand Down Expand Up @@ -575,7 +575,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout the repo
uses: actions/checkout@v4
uses: actions/checkout@v6
with:
persist-credentials: false
repository: smartcontractkit/chainlink
Expand Down Expand Up @@ -845,7 +845,7 @@ jobs:
- vrfv2plus
steps:
- name: Checkout the repo
uses: actions/checkout@v4
uses: actions/checkout@v6
with:
persist-credentials: false
ref: ${{ needs.select-versions.outputs.chainlink_version }}
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ on:
jobs:
analyze:
name: Analyze (${{ matrix.language }})
needs: [ runner-config ]
needs: [runner-config]
runs-on: ${{ matrix.runs-on || 'ubuntu-latest' }}
permissions:
# required for all workflows
Expand Down Expand Up @@ -48,7 +48,7 @@ jobs:
metrics: cpu,network,memory,disk

- name: Checkout repository
uses: actions/checkout@v4
uses: actions/checkout@v6

- name: Set up Go
if: matrix.language == 'go'
Expand Down Expand Up @@ -78,7 +78,7 @@ jobs:
- name: Build go code manually
if: matrix.language == 'go'
run: |
echo "::group::Builing all go code (go build ./...)"
echo "::group::Building all go code (go build ./...)"
go build ./...
echo "::endgroup::"

Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/cre-local-env-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ jobs:
timeout-minutes: 5
steps:
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v6
with:
ref: ${{ github.event_name == 'pull_request' && github.sha || inputs.chainlink_version }}

Expand All @@ -72,7 +72,7 @@ jobs:
if: needs.changes.outputs.should-run-tests == 'true'
steps:
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v6
with:
ref: ${{ github.event_name == 'pull_request' && github.sha || inputs.chainlink_version }}

Expand Down Expand Up @@ -300,7 +300,7 @@ jobs:

- name: Upload all artifacts as single package
if: failure()
uses: actions/upload-artifact@v4.6.2
uses: actions/upload-artifact@v7
with:
name: local-cre-docker-logs
path: ./core/scripts/cre/environment/logs/
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/cre-regression-system-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ jobs:
contents: read
steps:
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v6
with:
ref: ${{ inputs.chainlink_version }}
persist-credentials: false
Expand Down Expand Up @@ -115,7 +115,7 @@ jobs:
metrics: cpu,network,memory,disk

- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v6
with:
ref: ${{ inputs.chainlink_version }}
persist-credentials: false
Expand Down Expand Up @@ -238,7 +238,7 @@ jobs:

- name: Upload all artifacts as single package
if: failure()
uses: actions/upload-artifact@v4.6.2
uses: actions/upload-artifact@v7
with:
name: test-logs-${{ matrix.tests.test_name }}-${{ matrix.tests.topology }}
path: |
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/cre-soak-memory-leak.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ jobs:
metrics: cpu,network,memory,disk

- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v6
with:
ref: ${{ github.sha }}
persist-credentials: false
Expand Down Expand Up @@ -131,15 +131,15 @@ jobs:

- name: Upload alloc.pprof
if: always()
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v7
with:
name: alloc.pprof
path: alloc.pprof
retention-days: 7

- name: Upload Docker logs
if: failure()
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v7
with:
name: soak-docker-logs
path: system-tests/tests/soak/cre/logs
Expand Down
Loading
Loading