Skip to content

Bump rustls from 0.21.8 to 0.22.1 #195

Bump rustls from 0.21.8 to 0.22.1

Bump rustls from 0.21.8 to 0.22.1 #195

Workflow file for this run

name: Rust
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
env:
CARGO_TERM_COLOR: always
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install dependencies
run: |
sudo apt-get update && \
sudo apt-get install -y --no-install-recommends \
libkrb5-dev \
libssl-dev
- name: Install a Postgres database (CockroachDB)
run: |
git clone https://github.com/cockroachlabs-field/docker-examples.git
cd docker-examples/example-nginx/
sh up.sh
- name: Build
run: cargo build --verbose
- name: Clippy
run: cargo clippy -- -Dwarnings
- name: Run tests
run: |
# Env var to connect to the Postgres docker
export POSTGRES_HOST="localhost"
export POSTGRES_PORT="26257"
export POSTGRES_USER="root"
export POSTGRES_PASSWORD=""
export POSTGRES_DBNAME="test"
cargo test --verbose