From cee2a4f5f913138056e153e8ba6bdf3513e99169 Mon Sep 17 00:00:00 2001 From: Pavel Mikhalkevich Date: Sat, 24 Aug 2024 10:51:27 +0400 Subject: [PATCH] Update workflows --- .github/workflows/check.yml | 4 ++-- .github/workflows/test.yml | 29 +++++++++++++++-------------- 2 files changed, 17 insertions(+), 16 deletions(-) diff --git a/.github/workflows/check.yml b/.github/workflows/check.yml index 5c85779..bd4c32a 100644 --- a/.github/workflows/check.yml +++ b/.github/workflows/check.yml @@ -117,8 +117,8 @@ jobs: # https://docs.github.com/en/actions/learn-github-actions/contexts#context-availability strategy: matrix: - # That of `indexmap` that `sqlx-core` depends on: - msrv: ["1.63.0"] + # That of `mio` that `tokio` depends on: + msrv: ["1.70.0"] name: ubuntu / ${{ matrix.msrv }} steps: - uses: actions/checkout@v4 diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 068a0ec..3d814b8 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -119,20 +119,21 @@ jobs: # run cargo test on mac and windows runs-on: ${{ matrix.os }} name: ${{ matrix.os }} / stable - postgres: - image: postgres:16.4 - env: - POSTGRES_USER: username - POSTGRES_PASSWORD: password - POSTGRES_HOST: "127.0.0.1" - POSTGRES_DB: "pgboss" - options: >- - --health-cmd pg_isready - --health-interval 10s - --health-timeout 5s - --health-retries 5 - ports: - - 127.0.0.1:5444:5432 + services: + postgres: + image: postgres:16.4 + env: + POSTGRES_USER: username + POSTGRES_PASSWORD: password + POSTGRES_HOST: "127.0.0.1" + POSTGRES_DB: "pgboss" + options: >- + --health-cmd pg_isready + --health-interval 10s + --health-timeout 5s + --health-retries 5 + ports: + - 127.0.0.1:5444:5432 strategy: fail-fast: false matrix: