Skip to content
Open
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
10 changes: 5 additions & 5 deletions .github/actions/setup-go/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ runs:
echo "version=$version" | tee -a "$GITHUB_OUTPUT"

- name: Set up Go
uses: actions/setup-go@v5
uses: actions/setup-go@v7
with:
go-version: ${{ steps.go-version.outputs.version }}
cache: false
Comment thread
kalverra marked this conversation as resolved.
Expand Down Expand Up @@ -98,7 +98,7 @@ runs:

# By default, restore the cache only.
# Let the `go-mod-cache.yml` workflow handle the creation of new module caches.
- uses: actions/cache/restore@v4
- uses: actions/cache/restore@v6
if: ${{ inputs.restore-module-cache-only == 'true' }}
name: Cache Go Modules (Restore)
id: cache-modules-restore
Expand All @@ -111,7 +111,7 @@ runs:

# If this is called, then it will create the cache entry upon a cache miss.
# The cache is created after a cache miss, and after job completes successfully.
- uses: actions/cache@v4
- uses: actions/cache@v6
if: ${{ inputs.restore-module-cache-only != 'true' }}
id: cache-modules
name: Cache Go Modules
Expand Down Expand Up @@ -171,7 +171,7 @@ runs:
# ---
# We restore the build cache if it exists, but we do not create a new cache entry.
# The restore key matches the prefix of a the primary key for the build cache from trunk.
- uses: actions/cache/restore@v4
- uses: actions/cache/restore@v6
name: Cache Go Build Outputs (restore)
id: build-cache-restore
if: ${{ inputs.only-modules == 'false' && steps.build-cache-setup.outputs.create-build-cache != 'true' }}
Expand All @@ -188,7 +188,7 @@ runs:
# as we're only supplying the primary key.
# - If the cache does not exist, then nothing will be restored and it will create a new cache entry once
# the job completes successfully.
- uses: actions/cache@v4
- uses: actions/cache@v6
if: ${{ inputs.only-modules == 'false' && steps.build-cache-setup.outputs.create-build-cache == 'true'}}
id: build-cache
name: Cache Go Build Outputs
Expand Down
18 changes: 9 additions & 9 deletions .github/workflows/benchmark.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,18 +10,18 @@ on:

jobs:
benchmark:
runs-on: ubuntu-22.04
runs-on: ubuntu-latest
steps:
- name: Checkout Code
uses: actions/checkout@v4
uses: actions/checkout@v7

- name: Run Go Benchmark Action
uses: patrickhuie19/benchmark-action@b6d5104868690adeac692f7c860a715fefe604d4
with:
benchmarks-pr: 'BenchmarkKeystore_Sign' # Use benchmarks specified in PR, or default benchmarks
benchmarks-merge: 'BenchmarkKeystore_Sign' # Default list of benchmarks to run on merges
trigger-branches: 'main' # Comma-separated list of branches for merging
use-gh-pages: 'true' # Enable or disable GitHub Pages
github-token: ${{ secrets.GITHUB_TOKEN }} # Use the built-in GitHub token
gh-pages-branch: 'gh-pages' # GitHub Pages branch (if use-gh-pages is true)
alert-comment-cc-users: '@patrickhuie19'
benchmarks-pr: "BenchmarkKeystore_Sign" # Use benchmarks specified in PR, or default benchmarks
benchmarks-merge: "BenchmarkKeystore_Sign" # Default list of benchmarks to run on merges
trigger-branches: "main" # Comma-separated list of branches for merging
use-gh-pages: "true" # Enable or disable GitHub Pages
github-token: ${{ secrets.GITHUB_TOKEN }} # Use the built-in GitHub token
gh-pages-branch: "gh-pages" # GitHub Pages branch (if use-gh-pages is true)
alert-comment-cc-users: "@patrickhuie19"
Comment thread
kalverra marked this conversation as resolved.
Dismissed
18 changes: 9 additions & 9 deletions .github/workflows/build_external.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,12 @@ jobs:
solana-ref: ${{ steps.set-git-refs.outputs.solana-ref }}
starknet-ref: ${{ steps.set-git-refs.outputs.starknet-ref }}
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v7
with:
persist-credentials: false
- name: Get refs from PR body
id: set-git-refs
uses: actions/github-script@v7
uses: actions/github-script@v9
with:
script: |
const script = require('./.github/scripts/get-refs-from-pr-body.js')
Expand All @@ -46,14 +46,14 @@ jobs:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
steps:
- name: Checkout the chainlink-common repo
uses: actions/checkout@v4
uses: actions/checkout@v7
with:
repository: smartcontractkit/chainlink-common
persist-credentials: false
path: chainlink-common

- name: Checkout the chainlink core repo
uses: actions/checkout@v4
uses: actions/checkout@v7
with:
repository: smartcontractkit/chainlink
ref: ${{ needs.init.outputs.core-ref }}
Expand Down Expand Up @@ -90,13 +90,13 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout the solana repo
uses: actions/checkout@v4
uses: actions/checkout@v7
with:
repository: smartcontractkit/chainlink-solana
ref: ${{ needs.init.outputs.solana-ref }}

- name: Setup Go
uses: actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491 # v5.0.0
uses: actions/setup-go@v7
with:
go-version-file: "go.mod"

Expand Down Expand Up @@ -131,13 +131,13 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout the starknet repo
uses: actions/checkout@v4
uses: actions/checkout@v7
with:
repository: smartcontractkit/chainlink-starknet
ref: ${{ needs.init.outputs.starknet-ref }}

- name: Setup Go
uses: actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491 # v5.0.0
uses: actions/setup-go@v7
with:
go-version-file: ./relayer/go.mod

Expand Down Expand Up @@ -167,7 +167,7 @@ jobs:
# runs-on: ubuntu-latest
# steps:
# - name: Checkout the terra repo
# uses: actions/checkout@v4
# uses: actions/checkout@v7
# with:
# repository: smartcontractkit/chainlink-terra
# - name: Setup Go
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/cre-settings-schema-reminder.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
reminder:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v7
with:
fetch-depth: 0

Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/dependabump.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ name: dependabump
on:
workflow_dispatch:
schedule:
- cron: '0 0 * * 1-5' # every week-day at midnight
- cron: "0 0 * * 1-5" # every week-day at midnight

permissions: { }
permissions: {}

jobs:
dependabump:
Expand All @@ -20,7 +20,7 @@ jobs:
GH_TOKEN: ${{ github.token }}
steps:
- name: Checkout
uses: actions/checkout@v6
uses: actions/checkout@v7
with:
ref: main

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/go-mod-cache.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
pull-requests: read
steps:
- name: Checkout the repo
uses: actions/checkout@v4
uses: actions/checkout@v7
with:
persist-credentials: false

Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/golangci_lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on:
pull_request:
merge_group:
schedule:
- cron: '0 0 * * 1-5' # every week-day at midnight
- cron: "0 0 * * 1-5" # every week-day at midnight

jobs:
detect-modules:
Expand All @@ -16,7 +16,7 @@ jobs:
modules: ${{ steps.changed-modules.outputs.modules-json }}
steps:
- name: Checkout the repo
uses: actions/checkout@v5
uses: actions/checkout@v7
with:
fetch-depth: 0
persist-credentials: false
Expand Down Expand Up @@ -53,7 +53,7 @@ jobs:
pull-requests: read
steps:
- name: Checkout code
uses: actions/checkout@v5
uses: actions/checkout@v7
with:
persist-credentials: false

Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/keystore.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
keystore-src: ${{ steps.keystore-changes.outputs.src }}
steps:
- name: Checkout the repo
uses: actions/checkout@v4
uses: actions/checkout@v7
with:
persist-credentials: false
- uses: dorny/paths-filter@de90cc6fb38fc0963ad72b210f1f284cd68cea36 # v3.0.2
Expand All @@ -33,7 +33,7 @@ jobs:
working-directory: keystore
steps:
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v7

- name: Set up Go
uses: ./.github/actions/setup-go
Expand Down Expand Up @@ -72,7 +72,7 @@ jobs:
working-directory: keystore
steps:
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v7

- name: Set up Go
uses: ./.github/actions/setup-go
Expand All @@ -96,7 +96,7 @@ jobs:

- name: Upload Go test results
if: always()
uses: actions/upload-artifact@65462800fd760344b1a7b4382951275a0abb4808 # v4.3.3
uses: actions/upload-artifact@v7
with:
Comment thread
kalverra marked this conversation as resolved.
name: go-race-results
path: |
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/observability.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v7

- name: Set up Go
uses: actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491 # v5.0.0
uses: actions/setup-go@v7
with:
go-version-file: "go.mod"

Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/pkg.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v7
- name: Set up Go
uses: ./.github/actions/setup-go
with:
Expand Down Expand Up @@ -56,7 +56,7 @@ jobs:

- name: Upload Go test coverage
if: always()
uses: actions/upload-artifact@65462800fd760344b1a7b4382951275a0abb4808 # v4.3.3
uses: actions/upload-artifact@v7
with:
Comment thread
kalverra marked this conversation as resolved.
name: go-test-coverage
path: |
Expand All @@ -66,7 +66,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v7

- name: Set up Go
uses: ./.github/actions/setup-go
Expand All @@ -90,7 +90,7 @@ jobs:

- name: Upload Go test results
if: always()
uses: actions/upload-artifact@65462800fd760344b1a7b4382951275a0abb4808 # v4.3.3
uses: actions/upload-artifact@v7
with:
name: go-race-results
path: |
Expand All @@ -100,7 +100,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v7

- name: Set up Go
uses: ./.github/actions/setup-go
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ jobs:
dry-run: ${{ inputs.dry-run }}
steps:
- name: Checkout
uses: actions/checkout@v5
uses: actions/checkout@v7
with:
fetch-depth: 1

Expand Down Expand Up @@ -208,7 +208,7 @@ jobs:
contents: write
steps:
- name: Checkout
uses: actions/checkout@v5
uses: actions/checkout@v7
with:
fetch-depth: 0

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/sonar-scan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
if: always()
steps:
- name: Checkout Repository
uses: actions/checkout@v4
uses: actions/checkout@v7
with:
ref: ${{ github.event.pull_request.head.sha || github.event.merge_group.head_sha }}

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/validate-protos-version.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v6
uses: actions/checkout@v7

- name: Validate protos version
uses: smartcontractkit/.github/actions/validate-protos-version@e5a68c3ae58d138e4e7d1d2bbc7918e2b51d7161 #v1.0.0
2 changes: 1 addition & 1 deletion .tool-versions
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
golang 1.26.2
golang 1.26.5
protoc 29.3
protoc-gen-go-grpc 1.3.0
golangci-lint 2.12.2
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/smartcontractkit/chainlink-common

go 1.26.2
go 1.26.5

require (
github.com/Masterminds/semver/v3 v3.4.0
Expand Down
2 changes: 1 addition & 1 deletion keystore/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/smartcontractkit/chainlink-common/keystore

go 1.26.2
go 1.26.5

require (
github.com/NethermindEth/juno v0.15.11
Expand Down
2 changes: 1 addition & 1 deletion observability-lib/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/smartcontractkit/chainlink-common/observability-lib

go 1.26.2
go 1.26.5

require (
github.com/go-resty/resty/v2 v2.17.2
Expand Down
2 changes: 1 addition & 1 deletion pkg/chipingress/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/smartcontractkit/chainlink-common/pkg/chipingress

go 1.26.2
go 1.26.5

require (
github.com/cloudevents/sdk-go/binding/format/protobuf/v2 v2.16.1
Expand Down
Loading
Loading