Skip to content

fix(deps): update rust crate tower-http to 0.5.1 #208

fix(deps): update rust crate tower-http to 0.5.1

fix(deps): update rust crate tower-http to 0.5.1 #208

Workflow file for this run

name: Rust
on:
pull_request:
branches: ["*"]
push:
branches: ["dev"]
concurrency:
# Documentation suggests ${{ github.head_ref }}, but that's only available on pull_request/pull_request_target triggers, so using ${{ github.ref }}.
# On main, we want all builds to complete even if merging happens faster to make it easier to discover at which point something broke.
group: ${{ github.ref == 'refs/heads/main' && format('ci-main-{0}', github.sha) || format('ci-{0}', github.ref) }}
cancel-in-progress: true
env:
CARGO_TERM_COLOR: always
jobs:
build:
name: Build for ${{ matrix.target }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
include:
- os: ubuntu-latest
target: x86_64-unknown-linux-musl
steps:
- uses: actions/checkout@v3
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
- uses: Swatinem/rust-cache@v2
- name: Clippy
run: cargo clippy
- name: Build
run: cargo build
- name: Run tests
run: cargo test --verbose