mirror of
https://github.com/pezkuwichain/pezkuwi-telemetry.git
synced 2026-04-22 04:28:01 +00:00
a8358379bb
Bumps [Swatinem/rust-cache](https://github.com/swatinem/rust-cache) from 2.5.1 to 2.6.0. - [Release notes](https://github.com/swatinem/rust-cache/releases) - [Changelog](https://github.com/Swatinem/rust-cache/blob/master/CHANGELOG.md) - [Commits](https://github.com/swatinem/rust-cache/compare/dd05243424bd5c0e585e4b55eb2d7615cdd32f1f...b8a6852b4f997182bdea832df3f9e153038b5191) --- updated-dependencies: - dependency-name: Swatinem/rust-cache dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
46 lines
895 B
YAML
46 lines
895 B
YAML
name: Backend CI - cargo test
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- master
|
|
paths:
|
|
- '.github/workflows/backend*'
|
|
- 'backend/**'
|
|
- '!frontend/**'
|
|
pull_request:
|
|
paths:
|
|
- '.github/workflows/backend*'
|
|
- 'backend/**'
|
|
- '!frontend/**'
|
|
|
|
env:
|
|
CARGO_TERM_COLOR: always
|
|
|
|
defaults:
|
|
run:
|
|
working-directory: ./backend
|
|
|
|
jobs:
|
|
tests:
|
|
name: Run tests
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout sources
|
|
uses: actions/checkout@v3
|
|
|
|
- name: Install Rust stable toolchain
|
|
uses: actions-rs/toolchain@v1
|
|
with:
|
|
profile: minimal
|
|
toolchain: stable
|
|
override: true
|
|
|
|
- name: Rust Cache
|
|
uses: Swatinem/rust-cache@b8a6852b4f997182bdea832df3f9e153038b5191 # v2.6.0
|
|
with:
|
|
workspaces: backend
|
|
|
|
- name: Cargo test
|
|
run: cargo test --verbose --jobs 1
|