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
34 changes: 17 additions & 17 deletions .github/workflows/pull-request-main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
actions: read
steps:
- name: Linting Go
uses: smartcontractkit/.github/actions/ci-lint-go@ci-lint-go/v2 # ci-lint-go@2.0.0
uses: smartcontractkit/.github/actions/ci-lint-go@ci-lint-go/v2 # ci-lint-go/v2
with:
only-new-issues: "false"
golangci-lint-version: v2.12.2
Expand All @@ -49,7 +49,7 @@
actions: read
steps:
- name: Linting operations-gen
uses: smartcontractkit/.github/actions/ci-lint-go@ci-lint-go/v2 # ci-lint-go@2.0.0
uses: smartcontractkit/.github/actions/ci-lint-go@ci-lint-go/v2 # ci-lint-go/v2
with:
only-new-issues: "false"
golangci-lint-version: v2.12.2
Expand All @@ -62,7 +62,7 @@
contents: read
steps:
- name: Linting Misc (yaml + sh files)
uses: smartcontractkit/.github/actions/ci-lint-misc@eeb76b5870e3c17856d5a60fd064a053c023b5f5 # ci-lint-misc@1.0.0
uses: smartcontractkit/.github/actions/ci-lint-misc@ci-lint-misc/v1 # ci-lint-misc/v1

ci-test-operations-gen:
name: Tests operations-gen
Expand All @@ -76,7 +76,7 @@
actions: read
steps:
- name: Build and test operations-gen
uses: smartcontractkit/.github/actions/ci-test-go@dfcba48f05933158428bce867d790e3d5a9baa6b # ci-test-go@1.1.0
uses: smartcontractkit/.github/actions/ci-test-go@ci-test-go/v1 # ci-test-go/v1
with:
go-test-cmd: cd tools/operations-gen && go test -race ./...
use-go-cache: true
Expand All @@ -92,7 +92,7 @@
actions: read
steps:
- name: Build and test
uses: smartcontractkit/.github/actions/ci-test-go@dfcba48f05933158428bce867d790e3d5a9baa6b # ci-test-go@1.1.0
uses: smartcontractkit/.github/actions/ci-test-go@ci-test-go/v1 # ci-test-go/v1
with:
# disable the checkptr runtime check due a false positive in github.com/xssnick/tonutils-go
# causing tests in ci to fail "fatal error: checkptr: pointer arithmetic result points to invalid allocation"
Expand All @@ -112,7 +112,7 @@
actions: read
steps:
- name: Build and test evm provider packages
uses: smartcontractkit/.github/actions/ci-test-go@dfcba48f05933158428bce867d790e3d5a9baa6b # ci-test-go@1.1.0
uses: smartcontractkit/.github/actions/ci-test-go@ci-test-go/v1 # ci-test-go/v1
with:
go-test-cmd: go test -race -coverprofile=coverage.txt ./chain/evm/...
use-go-cache: true
Expand All @@ -128,7 +128,7 @@
actions: read
steps:
- name: Build and test solana provider packages
uses: smartcontractkit/.github/actions/ci-test-go@dfcba48f05933158428bce867d790e3d5a9baa6b # ci-test-go@1.1.0
uses: smartcontractkit/.github/actions/ci-test-go@ci-test-go/v1 # ci-test-go/v1
with:
go-test-cmd: go test -race -coverprofile=coverage.txt ./chain/solana/...
use-go-cache: true
Expand All @@ -149,7 +149,7 @@
CLI_VERSION: 9.2.0

- name: Build and test aptos provider packages
uses: smartcontractkit/.github/actions/ci-test-go@dfcba48f05933158428bce867d790e3d5a9baa6b # ci-test-go@1.1.0
uses: smartcontractkit/.github/actions/ci-test-go@ci-test-go/v1 # ci-test-go/v1
with:
go-test-cmd: go test -race -coverprofile=coverage.txt ./chain/aptos/...
use-go-cache: true
Expand Down Expand Up @@ -177,7 +177,7 @@
rm -f sui.tgz

- name: Build and test sui provider packages
uses: smartcontractkit/.github/actions/ci-test-go@dfcba48f05933158428bce867d790e3d5a9baa6b # ci-test-go@1.1.0
uses: smartcontractkit/.github/actions/ci-test-go@ci-test-go/v1 # ci-test-go/v1
with:
go-test-cmd: go test -race -coverprofile=coverage.txt ./chain/sui/...
use-go-cache: true
Expand All @@ -193,7 +193,7 @@
actions: read
steps:
- name: Build and test canton provider packages
uses: smartcontractkit/.github/actions/ci-test-go@dfcba48f05933158428bce867d790e3d5a9baa6b # ci-test-go@1.1.0
uses: smartcontractkit/.github/actions/ci-test-go@ci-test-go/v1 # ci-test-go/v1
with:
go-test-cmd: go test -race -coverprofile=coverage.txt ./chain/canton/...
use-go-cache: true
Expand All @@ -209,7 +209,7 @@
actions: read
steps:
- name: Build and test ton provider packages
uses: smartcontractkit/.github/actions/ci-test-go@dfcba48f05933158428bce867d790e3d5a9baa6b # ci-test-go@1.1.0
uses: smartcontractkit/.github/actions/ci-test-go@ci-test-go/v1 # ci-test-go/v1
with:
# disable the checkptr runtime check due a false positive in github.com/xssnick/tonutils-go
# causing tests in ci to fail "fatal error: checkptr: pointer arithmetic result points to invalid allocation"
Expand All @@ -228,7 +228,7 @@
actions: read
steps:
- name: Build and test tron provider packages
uses: smartcontractkit/.github/actions/ci-test-go@dfcba48f05933158428bce867d790e3d5a9baa6b # ci-test-go@1.1.0
uses: smartcontractkit/.github/actions/ci-test-go@ci-test-go/v1 # ci-test-go/v1
with:
go-test-cmd: go test -race -coverprofile=coverage.txt ./chain/tron/...
use-go-cache: true
Expand All @@ -244,7 +244,7 @@
actions: read
steps:
- name: Build and test stellar provider packages
uses: smartcontractkit/.github/actions/ci-test-go@dfcba48f05933158428bce867d790e3d5a9baa6b # ci-test-go@1.1.0
uses: smartcontractkit/.github/actions/ci-test-go@ci-test-go/v1 # ci-test-go/v1
with:
go-test-cmd: go test -race -coverprofile=coverage.txt ./chain/stellar/...
use-go-cache: true
Expand All @@ -260,7 +260,7 @@
actions: read
steps:
- name: Build and test provider packages
uses: smartcontractkit/.github/actions/ci-test-go@dfcba48f05933158428bce867d790e3d5a9baa6b # ci-test-go@1.1.0
uses: smartcontractkit/.github/actions/ci-test-go@ci-test-go/v1 # ci-test-go/v1
with:
# -p 2 -parallel 3 = 2 packages, 3 tests max = 6 containers max
# Run all provider tests EXCEPT slow ones (evm, solana, aptos, sui, canton, ton, tron, stellar) which have dedicated jobs
Expand Down Expand Up @@ -314,7 +314,7 @@
echo "tag=${LATEST_TAG}" >> "${GITHUB_OUTPUT}"

- name: Pull Catalog Service ECR Image
uses: smartcontractkit/.github/actions/pull-private-ecr-image@2f8f0baf38e46140c6a119eb551a56eaaabcc09e # pull-private-ecr-image@1.0.0
uses: smartcontractkit/.github/actions/pull-private-ecr-image@pull-private-ecr-image/v1 # pull-private-ecr-image/v1
with:
aws-account-number: ${{ secrets.AWS_ACCOUNT_NUMBER_PROD }}
aws-region: ${{ secrets.AWS_REGION }}
Expand All @@ -323,7 +323,7 @@
image-tag: ${{ steps.get-catalog-tag.outputs.tag }}

- name: Run Catalog Remote Integration Tests
uses: smartcontractkit/.github/actions/ci-test-go@dfcba48f05933158428bce867d790e3d5a9baa6b # ci-test-go@1.1.0
uses: smartcontractkit/.github/actions/ci-test-go@ci-test-go/v1 # ci-test-go@v1
with:
# Must cd into datastore/catalog/remote because TestMain only runs from package directory
go-test-cmd: cd datastore/catalog/remote && go test -v -race -timeout 10m -gcflags=all=-d=checkptr=0 -coverprofile=../../../coverage.txt
Expand All @@ -346,7 +346,7 @@
actions: read
steps:
- name: Scan with Sonarqube
uses: smartcontractkit/.github/actions/ci-sonarqube-go@01d931b0455a754d12e7143cc54a5a3521a8f6f6 # ci-sonarqube-go@0.3.1
uses: smartcontractkit/.github/actions/ci-sonarqube-go@82f9a1703246639b70da5fd5a3e489363b04a0d6 # ci-sonarqube-go@0.6.1

Check warning on line 349 in .github/workflows/pull-request-main.yml

View workflow job for this annotation

GitHub Actions / Validate Workflow Changes

1. Trusted actions should use a major version tag, if available. (trusted-tag-ref / warning)
with:
sonar-token: ${{ secrets.SONAR_TOKEN }}
sonar-host-url: ${{ secrets.SONAR_HOST_URL }}
2 changes: 1 addition & 1 deletion .github/workflows/push-tag-release-operations-gen.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
actions: read
steps:
- name: cicd-publish-release-operations-gen
uses: smartcontractkit/.github/actions/cicd-build-publish-artifacts-go@b4737861584f88fa9569d6978f70fedf8b1ae67c # cicd-build-publish-artifacts-go@0.4.0
uses: smartcontractkit/.github/actions/cicd-build-publish-artifacts-go@4475ad7c475bacb1aefeccb132645149201ababd # cicd-build-publish-artifacts-go/0.7.0

Check warning on line 17 in .github/workflows/push-tag-release-operations-gen.yml

View workflow job for this annotation

GitHub Actions / Validate Workflow Changes

1. Trusted actions should use a major version tag, if available. (trusted-tag-ref / warning)
with:
# general inputs
app-name: operations-gen
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/push-tag-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
actions: read
steps:
- name: cicd-publish-release
uses: smartcontractkit/.github/actions/cicd-build-publish-artifacts-go@b4737861584f88fa9569d6978f70fedf8b1ae67c # cicd-build-publish-artifacts-go@0.4.0
uses: smartcontractkit/.github/actions/cicd-build-publish-artifacts-go@4475ad7c475bacb1aefeccb132645149201ababd # cicd-build-publish-artifacts-go/0.7.0

Check warning on line 17 in .github/workflows/push-tag-release.yml

View workflow job for this annotation

GitHub Actions / Validate Workflow Changes

1. Trusted actions should use a major version tag, if available. (trusted-tag-ref / warning)
with:
# general inputs
app-name: chainlink-deployments-framework
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/schedule-main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
actions: read
steps:
- name: Linting Go
uses: smartcontractkit/.github/actions/ci-lint-go@ci-lint-go/v2 # ci-lint-go@2.0.0
uses: smartcontractkit/.github/actions/ci-lint-go@ci-lint-go/v2 # ci-lint-go/v2
with:
only-new-issues: "false"
golangci-lint-version: v2.12.2
Expand All @@ -28,7 +28,7 @@ jobs:
contents: read
steps:
- name: Linting Misc (yaml + sh files)
uses: smartcontractkit/.github/actions/ci-lint-misc@eeb76b5870e3c17856d5a60fd064a053c023b5f5 # ci-lint-misc@1.0.0
uses: smartcontractkit/.github/actions/ci-lint-misc@ci-lint-misc/v1 # ci-lint-misc/v1

ci-test:
name: Tests
Expand All @@ -40,7 +40,7 @@ jobs:
actions: read
steps:
- name: Build and test
uses: smartcontractkit/.github/actions/ci-test-go@dfcba48f05933158428bce867d790e3d5a9baa6b # ci-test-go@1.1.0
uses: smartcontractkit/.github/actions/ci-test-go@ci-test-go/v1 # ci-test-go/v1
with:
# disable the checkptr runtime check due a false positive in github.com/xssnick/tonutils-go
# Exclude provider packages which use Docker containers and remote catalog tests
Expand All @@ -58,7 +58,7 @@ jobs:
actions: read
steps:
- name: Build and test provider packages
uses: smartcontractkit/.github/actions/ci-test-go@dfcba48f05933158428bce867d790e3d5a9baa6b # ci-test-go@1.1.0
uses: smartcontractkit/.github/actions/ci-test-go@ci-test-go/v1 # ci-test-go/v1
with:
# disable the checkptr runtime check due a false positive in github.com/xssnick/tonutils-go
# -p 2 -parallel 3 = 2 packages, 3 tests max = 6 containers max
Expand Down
Loading