Skip to content

feat: use the same base URL for all kinds of endpoints (auth, PACT API) #3

feat: use the same base URL for all kinds of endpoints (auth, PACT API)

feat: use the same base URL for all kinds of endpoints (auth, PACT API) #3

Workflow file for this run

on: [push]
name: CI
jobs:
build_and_test:
name: Rust project
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Cache target
uses: actions/cache@v4
env:
cache-name: cache-default-target-and-lockfile
with:
path: |
endpoint/target
~/.cargo/bin/
~/.cargo/registry/index/
~/.cargo/registry/cache/
~/.cargo/git/db/
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.toml') }}
- name: CI
env:
PRIV_KEY: ${{ secrets.PRIV_KEY }}
working-directory: ./endpoint
run: |
cargo build
cargo test
cargo clippy -- -Dwarnings