Skip to content

disable gzip

disable gzip #5

Workflow file for this run

name: Continuous integration
on: [pull_request, push]
env:
CARGO_TERM_COLOR: always
jobs:
lint:
name: Lint
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install latest stable
uses: actions-rs/toolchain@v1
with:
toolchain: stable
override: true
components: rustfmt, clippy
- name: Run cargo clippy
uses: actions-rs/cargo@v1
with:
command: clippy
args: --all-targets --all-features -- -D warnings
test:
name: Run tests
runs-on: ubuntu-latest
needs: lint
services:
redis:
image: redis:7.2.4-alpine
ports:
- 6379:6379
steps:
- name: Checkout
uses: actions/checkout@v4
with:
# By default actions/checkout checks out a merge commit. Check out the PR head instead.
# https://github.com/actions/checkout#checkout-pull-request-head-commit-instead-of-merge-commit
ref: ${{ github.event.pull_request.head.sha }}
- name: Install latest stable release
uses: actions-rs/toolchain@v1
with:
toolchain: stable
override: true
- name: Run tests
uses: actions-rs/cargo@v1
env:
IS_DEV: false
HOST: localhost
PORT: 8080
CDN_SERVER_URL: https://cdn.storiny.com
RPC_SERVER_URL: 127.0.0.1:50051
RPC_SECRET_TOKEN: x
REDIS_HOST: localhost
REDIS_PORT: 6379
SENTRY_DSN: x
with:
command: test