Skip to content

Merge pull request #15 from cowprotocol/readme-slippage-patch #43

Merge pull request #15 from cowprotocol/readme-slippage-patch

Merge pull request #15 from cowprotocol/readme-slippage-patch #43

Workflow file for this run

name: test
on:
pull_request:
push:
branches: [main]
jobs:
rust-tests:
timeout-minutes: 60
runs-on: ubuntu-latest
env:
# Shrink artifact size by not including debug info. Makes build faster and shrinks cache.
CARGO_PROFILE_DEV_DEBUG: 0
CARGO_PROFILE_TEST_DEBUG: 0
# Error build on warning (including clippy lints)
RUSTFLAGS: "-Dwarnings"
steps:
- uses: actions/checkout@v2
- uses: Swatinem/rust-cache@v1
- run: cargo test
- run: cargo clippy