feat: construct queued proposals with predecessors #1429
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: pull-request-main | |
on: | |
merge_group: | |
pull_request: | |
branches: | |
- main | |
jobs: | |
ci-lint: | |
name: Lint | |
runs-on: ubuntu-latest | |
permissions: | |
id-token: write | |
contents: read | |
actions: read | |
steps: | |
- name: Linting Go | |
uses: smartcontractkit/.github/actions/ci-lint-go@7a4d99cb349ea8f25195d2390d157942031f8a57 | |
with: | |
golangci-lint-version: v1.61.0 | |
# grafana inputs | |
metrics-job-name: ci-test | |
gc-basic-auth: ${{ secrets.GRAFANA_INTERNAL_BASIC_AUTH }} | |
gc-host: ${{ secrets.GRAFANA_INTERNAL_HOST }} | |
gc-org-id: ${{ secrets.GRAFANA_INTERNAL_TENANT_ID }} | |
ci-lint-e2e: | |
name: Lint E2E tests | |
runs-on: ubuntu-latest | |
permissions: | |
id-token: write | |
contents: read | |
actions: read | |
steps: | |
- name: Linting Go | |
uses: smartcontractkit/.github/actions/ci-lint-go@7a4d99cb349ea8f25195d2390d157942031f8a57 | |
with: | |
golangci-lint-version: v1.62.0 | |
golangci-lint-args: --build-tags="e2e" | |
metrics-job-name: ci-lint | |
gc-basic-auth: ${{ secrets.GRAFANA_INTERNAL_BASIC_AUTH }} | |
gc-host: ${{ secrets.GRAFANA_INTERNAL_HOST }} | |
gc-org-id: ${{ secrets.GRAFANA_INTERNAL_TENANT_ID }} | |
ci-lint-misc: | |
name: Lint GH Actions and scripts | |
runs-on: ubuntu-latest | |
steps: | |
- name: Linting Misc (yaml + sh files) | |
uses: smartcontractkit/.github/actions/ci-lint-misc@7a4d99cb349ea8f25195d2390d157942031f8a57 | |
with: | |
# grafana inputs | |
metrics-job-name: ci-lint-misc | |
gc-basic-auth: ${{ secrets.GRAFANA_INTERNAL_BASIC_AUTH }} | |
gc-host: ${{ secrets.GRAFANA_INTERNAL_HOST }} | |
gc-org-id: ${{ secrets.GRAFANA_INTERNAL_TENANT_ID }} | |
ci-test: | |
name: Tests | |
runs-on: ubuntu-latest | |
permissions: | |
id-token: write | |
contents: read | |
actions: read | |
steps: | |
- name: Build and test | |
uses: smartcontractkit/.github/actions/ci-test-go@7a4d99cb349ea8f25195d2390d157942031f8a57 | |
with: | |
go-test-cmd: go test -coverprofile=coverage.txt $(go list ./...) | |
use-go-cache: true | |
# grafana inputs | |
metrics-job-name: ci-test | |
gc-basic-auth: ${{ secrets.GRAFANA_INTERNAL_BASIC_AUTH }} | |
gc-host: ${{ secrets.GRAFANA_INTERNAL_HOST }} | |
gc-org-id: ${{ secrets.GRAFANA_INTERNAL_TENANT_ID }} | |
ci-test-e2e: | |
name: Tests E2E | |
runs-on: ubuntu-latest | |
permissions: | |
id-token: write | |
contents: read | |
actions: read | |
steps: | |
- name: Install Rust | |
uses: moonrepo/setup-rust@v1 | |
- name: Install Solana | |
uses: metaplex-foundation/actions/install-solana@v1 | |
with: | |
version: 1.18.10 | |
- name: Build and test | |
uses: smartcontractkit/.github/actions/ci-test-go@7a4d99cb349ea8f25195d2390d157942031f8a57 | |
with: | |
go-test-cmd: go generate -tags=e2e ./e2e/... && CTF_CONFIGS=../config.toml go test -tags=e2e -v ./e2e/tests/... | |
use-go-cache: true | |
# grafana inputs | |
metrics-job-name: ci-test | |
gc-basic-auth: ${{ secrets.GRAFANA_INTERNAL_BASIC_AUTH }} | |
gc-host: ${{ secrets.GRAFANA_INTERNAL_HOST }} | |
gc-org-id: ${{ secrets.GRAFANA_INTERNAL_TENANT_ID }} | |
ci-sonarqube: | |
name: Sonarqube Scan | |
needs: [ ci-lint, ci-lint-misc, ci-test ] | |
runs-on: ubuntu-latest | |
if: github.actor != 'dependabot[bot]' | |
steps: | |
- name: Scanning with Sonarqube | |
uses: smartcontractkit/.github/actions/ci-sonarqube-go@5f4a9c9c3407dd499a1ebbc658a45b9beb9bf675 | |
with: | |
# sonarqube inputs | |
sonar-token: ${{ secrets.SONAR_TOKEN }} | |
sonar-host-url: ${{ secrets.SONAR_HOST_URL }} | |
include-lint: true |