diff --git a/.github/workflows/build.yml b/.github/workflows/check.yml similarity index 85% rename from .github/workflows/build.yml rename to .github/workflows/check.yml index 50c97e9..6912e2d 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/check.yml @@ -1,13 +1,19 @@ on: [push] -name: build +name: check jobs: check: - runs-on: self-hosted + runs-on: ubuntu-latest defaults: run: shell: bash + services: + rabbitmq: + image: rabbitmq:3.8-management + ports: + - 5672:5672 + - 15672:15672 steps: - name: Checkout uses: actions/checkout@v3 @@ -39,4 +45,3 @@ jobs: working-directory: tests - name: Run tests run: cargo test - timeout-minutes: 10