Skip to content

Bump actions/cache from 3 to 4 #346

Bump actions/cache from 3 to 4

Bump actions/cache from 3 to 4 #346

Workflow file for this run

name: Libraries
on:
push:
branches: [master, exchange_rate_override]
pull_request:
branches: [master, exchange_rate_override]
env:
CARGO_TERM_COLOR: always
RUST_TOOLCHAIN: "1.59.0"
jobs:
doc:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install Rust nightly
uses: actions-rs/toolchain@v1
with:
override: true
profile: minimal
toolchain: ${{ env.RUST_TOOLCHAIN }}
components: rustfmt, clippy
- name: Cache dependencies
uses: Swatinem/rust-cache@v2
- run: cargo doc
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install Rust nightly
uses: actions-rs/toolchain@v1
with:
override: true
profile: minimal
toolchain: ${{ env.RUST_TOOLCHAIN }}
components: rustfmt, clippy
- name: Cache dependencies
uses: Swatinem/rust-cache@v2
- run: cargo test --workspace --exclude stable-swap