Skip to content

refactor: Replace registry #71

refactor: Replace registry

refactor: Replace registry #71

Workflow file for this run

name: Rust
on:
push:
branches: [main]
pull_request:
branches: [main]
env:
CARGO_TERM_COLOR: always
jobs:
check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Fmt
run: cargo fmt -- --check
- name: Check
run: cargo check
- name: Clippy
run: cargo clippy
test:
runs-on: ubuntu-latest
services:
redis:
image: valkey/valkey:7.2.7-alpine
ports:
- 16379:6379
pgsql:
image: postgres:16.4
env:
POSTGRES_PASSWORD: test
POSTGRES_USER: test
POSTGRES_DB: test
ports:
- 15432:5432
steps:
- uses: actions/checkout@v2
- name: Tests
run: cargo test
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Build
run: cargo build --release --verbose