diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 807ac1cb..a9ab4461 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -12,15 +12,13 @@ jobs: contents: read steps: - - name: Delete huge unnecessary tools folder - run: rm -rf /opt/hostedtoolcache - uses: actions/checkout@v2 - uses: actions-rs/toolchain@v1 with: toolchain: stable - uses: Swatinem/rust-cache@v1 - run: cargo install just - - run: just test + - run: just ci publish: runs-on: ubuntu-latest diff --git a/Cargo.toml b/Cargo.toml index 1dee51f2..69b99043 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -9,6 +9,11 @@ readme = "README.md" license = "MIT" repository = "https://github.com/libninjacom/plaid-rs" +[profile.ci] +debug = 0 +incremental = false +inherits = "dev" + [dependencies] base64 = "0.21.0" futures = "0.3.25" diff --git a/Justfile b/Justfile index 03693898..198ff081 100644 --- a/Justfile +++ b/Justfile @@ -51,11 +51,9 @@ patch: test doc: cargo doc --no-deps --open -test-full: - #!/usr/bin/env bash -euxo pipefail - for file in $(ls examples); do - cargo run --example "$(basename "$file" .rs)" - done +ci: + cargo test --profile ci --no-run + cargo test --profile ci transform: req https://raw.githubusercontent.com/plaid/plaid-openapi/master/2020-09-14.yml > openapi.yaml