From d968909ecbd24cb9677cf096ccd56ba272b49e58 Mon Sep 17 00:00:00 2001 From: Adam Hamrick Date: Mon, 6 Jan 2025 15:48:12 -0500 Subject: [PATCH] Lint --- .github/workflows/docker-test.yaml | 2 +- ...server-release.yaml => parrotserver-release.yaml} | 8 ++++---- ...er-test-lint.yaml => parrotserver-test-lint.yaml} | 12 ++++++------ .github/workflows/update-internal-mirrors.yaml | 1 + parrotserver/go.mod | 2 +- 5 files changed, 13 insertions(+), 12 deletions(-) rename .github/workflows/{mockserver-release.yaml => parrotserver-release.yaml} (84%) rename .github/workflows/{mockserver-test-lint.yaml => parrotserver-test-lint.yaml} (82%) diff --git a/.github/workflows/docker-test.yaml b/.github/workflows/docker-test.yaml index 3a8b782cc..ff1fa1a31 100644 --- a/.github/workflows/docker-test.yaml +++ b/.github/workflows/docker-test.yaml @@ -21,7 +21,7 @@ jobs: - name: eth_clients tests: TestBesu|TestGeth|TestNethermind|TestErigon - name: other - tests: TestPostgres|TestMockServer|TestKillgrave + tests: TestPostgres|TestParrotServer|TestKillgrave steps: - name: Checkout the Repo uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1 diff --git a/.github/workflows/mockserver-release.yaml b/.github/workflows/parrotserver-release.yaml similarity index 84% rename from .github/workflows/mockserver-release.yaml rename to .github/workflows/parrotserver-release.yaml index f236c2f16..088cd0913 100644 --- a/.github/workflows/mockserver-release.yaml +++ b/.github/workflows/parrotserver-release.yaml @@ -1,9 +1,9 @@ -name: Mockserver Release +name: Parrotserver Release on: push: tags: - - mockserver/v* + - parrotserver/v* jobs: release: @@ -28,6 +28,6 @@ jobs: - name: Build and release env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - IMAGE_PREFIX: ${{ secrets.QA_AWS_ACCOUNT_NUMBER }}.dkr.ecr.${{ secrets.QA_AWS_REGION }}.amazonaws.com/mockserver + IMAGE_PREFIX: ${{ secrets.QA_AWS_ACCOUNT_NUMBER }}.dkr.ecr.${{ secrets.QA_AWS_REGION }}.amazonaws.com/parrotserver IMAGE_TAG: ${{ github.ref_name}} - run: goreleaser release --clean -f ./mockserver/.goreleaser.yml + run: goreleaser release --clean -f ./parrotserver/.goreleaser.yml diff --git a/.github/workflows/mockserver-test-lint.yaml b/.github/workflows/parrotserver-test-lint.yaml similarity index 82% rename from .github/workflows/mockserver-test-lint.yaml rename to .github/workflows/parrotserver-test-lint.yaml index 028aca8ae..9b961f452 100644 --- a/.github/workflows/mockserver-test-lint.yaml +++ b/.github/workflows/parrotserver-test-lint.yaml @@ -1,29 +1,29 @@ -name: MOCKSERVER Test +name: Parrotserver Test on: push: branches: - main tags: - - 'mockserver/v*.*.*' + - 'parrotserver/v*.*.*' pull_request: jobs: test: defaults: run: - working-directory: mockserver + working-directory: parrotserver runs-on: ubuntu-latest steps: - name: Checkout repo uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1 - - name: Check for changes in Mockserver + - name: Check for changes in Parrotserver uses: dorny/paths-filter@de90cc6fb38fc0963ad72b210f1f284cd68cea36 # v3.0.2 id: changes with: filters: | src: - - 'mockserver/**' + - 'parrotserver/**' - name: Set up Go if: steps.changes.outputs.src == 'true' uses: actions/setup-go@v5 @@ -36,7 +36,7 @@ jobs: lint: defaults: run: - working-directory: mockserver + working-directory: parrotserver name: Lint runs-on: ubuntu-latest steps: diff --git a/.github/workflows/update-internal-mirrors.yaml b/.github/workflows/update-internal-mirrors.yaml index 6abeecf63..e9c529466 100644 --- a/.github/workflows/update-internal-mirrors.yaml +++ b/.github/workflows/update-internal-mirrors.yaml @@ -85,3 +85,4 @@ jobs: aws_region: ${{ secrets.QA_AWS_REGION }} role_to_assume: ${{ secrets.QA_AWS_ROLE_TO_ASSUME }} aws_account_number: ${{ secrets.QA_AWS_ACCOUNT_NUMBER }} + github_token: ${{ github.token }} diff --git a/parrotserver/go.mod b/parrotserver/go.mod index fee026864..c7e08a806 100644 --- a/parrotserver/go.mod +++ b/parrotserver/go.mod @@ -1,6 +1,6 @@ module github.com/smartcontractkit/parrotserver -go 1.23.2 +go 1.23.4 require ( github.com/rs/zerolog v1.33.0