Skip to content

gzip->zstd

gzip->zstd #2091

Workflow file for this run

on:
pull_request:
push:
paths:
- "stationapi/**"
- "migration/**"
- "data_validator/**"
- "Cargo.lock"
- "Cargo.toml"
name: Continuous integration
env:
SQLX_OFFLINE: true
jobs:
check:
name: Check
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
submodules: recursive
- run: sudo apt-get install protobuf-compiler
- run: cargo check
test:
name: Test Suite
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
submodules: recursive
- run: sudo apt-get install protobuf-compiler
- run: cargo test
fmt:
name: Rustfmt
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
submodules: recursive
- run: rustup component add rustfmt
- run: cargo fmt --all -- --check
clippy:
name: Clippy
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
submodules: recursive
- run: sudo apt-get install protobuf-compiler
- run: rustup component add clippy
- run: cargo clippy -- -D warnings