Update smartcontractkit/chainlink-solana requirement to dc85a5bec3849f31fd001ba34c3e9070250dba77 #5274
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI Scripts | |
on: | |
push: | |
pull_request: | |
jobs: | |
lint-scripts: | |
if: ${{ github.event_name == 'pull_request' }} | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 | |
- name: Golang Lint | |
uses: ./.github/actions/golangci-lint | |
with: | |
name: lint-scripts | |
go-directory: core/scripts | |
go-version-file: core/scripts/go.mod | |
go-module-file: core/scripts/go.sum | |
gc-basic-auth: ${{ secrets.GRAFANA_CLOUD_BASIC_AUTH }} | |
gc-host: ${{ secrets.GRAFANA_CLOUD_HOST }} | |
test-scripts: | |
if: ${{ github.event_name == 'pull_request' }} | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 | |
- name: Setup Go | |
uses: ./.github/actions/setup-go | |
with: | |
go-version-file: core/scripts/go.mod | |
go-module-file: core/scripts/go.sum | |
- name: Run Tests | |
shell: bash | |
working-directory: core/scripts | |
run: go test ./... | |
- name: Collect Metrics | |
if: always() | |
id: collect-gha-metrics | |
uses: smartcontractkit/push-gha-metrics-action@0281b09807758be1dcc41651e44e62b353808c47 # v2.1.0 | |
with: | |
org-id: ${{ secrets.GRAFANA_INTERNAL_TENANT_ID }} | |
basic-auth: ${{ secrets.GRAFANA_INTERNAL_BASIC_AUTH }} | |
hostname: ${{ secrets.GRAFANA_INTERNAL_HOST }} | |
this-job-name: test-scripts | |
continue-on-error: true |