Skip to content

Update Rust crate hyper to 1.9.0 - autoclosed #1935

Update Rust crate hyper to 1.9.0 - autoclosed

Update Rust crate hyper to 1.9.0 - autoclosed #1935

Workflow file for this run

name: Test
on:
push:
branches:
- main
pull_request:
concurrency:
group: ${{ github.workflow }}-${{ github.ref_name }}-${{ github.ref_name == 'main' && github.sha || 'anysha' }}
cancel-in-progress: true
jobs:
test:
runs-on: ubuntu-24.04
services:
postgres:
image: postgres
env:
POSTGRES_USER: test
POSTGRES_PASSWORD: test
options: >-
--health-cmd pg_isready
--health-interval 10s
--health-timeout 5s
--health-retries 5
ports:
- 5432:5432
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
- run: |
rustup toolchain install
- uses: Swatinem/rust-cache@c19371144df3bb44fab255c43d04cbc2ab54d1c4 # v2.9.1
- run: |
cargo build # check default features
- run: |
cargo test --all-features
env:
RUST_BACKTRACE: "1"
TEST_DATABASE: postgres://test:test@localhost
RUST_LOG: v=trace,turnstile=trace