diff --git a/.github/workflows/buf-ci.yaml b/.github/workflows/buf-ci.yaml deleted file mode 100644 index 1d5872fb5..000000000 --- a/.github/workflows/buf-ci.yaml +++ /dev/null @@ -1,23 +0,0 @@ -name: Buf CI -on: [push] - -jobs: - buf: - name: Run protobuf lints - runs-on: ubuntu-20.04 - steps: - - uses: actions/checkout@v4 - - uses: bufbuild/buf-action@v1 - with: - version: 1.42.0 - setup_only: true - - - name: Check for lints - run: | - cd protobufs - buf lint - - - name: Check the format - run: | - cd protobufs - buf format --diff --exit-code diff --git a/.github/workflows/contract-tests.yaml b/.github/workflows/contract-tests.yaml deleted file mode 100644 index bda751d55..000000000 --- a/.github/workflows/contract-tests.yaml +++ /dev/null @@ -1,41 +0,0 @@ -name: Contract tests -on: [push] - -jobs: - contract_tests: - name: Contract tests - runs-on: ubuntu-latest - steps: - - name: Checkout - uses: actions/checkout@v2 - - uses: pnpm/action-setup@v4 - - - name: Set Node Version - uses: actions/setup-node@v3 - with: - node-version: 22.1.0 - cache: "pnpm" - - name: Install dependencies - run: pnpm install - working-directory: ./contracts - - name: Type checks - run: pnpm typecheck - working-directory: ./contracts - - name: Tests - run: pnpm test - working-directory: ./contracts - - name: Lint - run: pnpm lint - working-directory: ./contracts - - name: Generate contract docs and types - run: pnpm build - working-directory: ./contracts - - name: Ensure git is clean - id: gitStatus - run: git diff --no-ext-diff --exit-code - continue-on-error: true - - name: Error message if git is dirty - if: steps.gitStatus.outcome == 'failure' - run: | - echo "::error::Git is dirty. Make sure you ran \`make build\` before pushing." - exit 1 diff --git a/.github/workflows/unit-tests.yaml b/.github/workflows/unit-tests.yaml deleted file mode 100644 index 0cf49ebc0..000000000 --- a/.github/workflows/unit-tests.yaml +++ /dev/null @@ -1,51 +0,0 @@ -name: Rust and Clarity Tests -on: [push] - -jobs: - tests: - name: Run Unit Tests - runs-on: ubuntu-20.04 - steps: - - uses: actions/checkout@v4 - - - uses: pnpm/action-setup@v4 - - - name: Set Node Version - uses: actions/setup-node@v3 - with: - node-version: 22.1.0 - cache: "pnpm" - - - uses: arduino/setup-protoc@v3 - with: - version: "25.3" - - - name: Setup rust toolchain - run: rustup show - - - uses: Swatinem/rust-cache@v2 - - - name: Install package dependencies. - run: make install - - - name: Run tests - run: make test - - - name: Docker test service setup - run: make integration-env-up-ci - - - name: Run integration tests - run: make integration-test - - - name: Run lints - run: make lint - - - name: Docker compose down - if: always() - run: make integration-env-down-ci - - - name: Upload integration test logs - uses: actions/upload-artifact@v4 - if: always() - with: - path: ./target/emily-server.log