Skip to content

[OSS-118] Support for pagination #104

[OSS-118] Support for pagination

[OSS-118] Support for pagination #104

Workflow file for this run

name: CI # Continuous Integration
on:
push:
branches:
- main
paths-ignore:
- "**.md"
pull_request:
paths-ignore:
- "**.md"
jobs:
test:
name: Test Suite
runs-on: ubuntu-22.04
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Install cargo-semver-checks
uses: jaxxstorm/[email protected]
with:
repo: obi1kenobi/cargo-semver-checks
tag: v0.30.0
cache: enable
- name: Start containers
run: docker compose up -d --wait
working-directory: ./tests
- name: Install Rust toolchain
uses: dtolnay/rust-toolchain@stable
- uses: Swatinem/rust-cache@v2
- name: Run tests
run: cargo test
rustfmt:
name: Rustfmt
runs-on: ubuntu-22.04
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Install Rust toolchain
uses: dtolnay/rust-toolchain@stable
with:
components: rustfmt
- uses: Swatinem/rust-cache@v2
- name: Check formatting
run: cargo fmt --all --check
clippy:
name: Clippy
runs-on: ubuntu-22.04
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Install Rust toolchain
uses: dtolnay/rust-toolchain@stable
with:
components: clippy
- uses: Swatinem/rust-cache@v2
- name: Clippy check
run: cargo clippy --all-targets --all-features -- -D warnings