fix(deps): update rust crate tower-http to v0.6.1 #261
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
name: check | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
# Spend CI time only on latest ref: https://github.com/jonhoo/rust-ci-conf/pull/5 | |
concurrency: | |
group: ${{ github.ref }}-${{ github.workflow }} | |
cancel-in-progress: true | |
jobs: | |
fmt: | |
runs-on: ubuntu-latest | |
name: stable / fmt | |
steps: | |
- name: Setup Tools | |
shell: bash | |
run: | | |
sudo apt-get -qq update && \ | |
sudo apt-get -qq install --no-install-recommends -y curl unzip gcc g++ git | |
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4 | |
with: | |
submodules: false | |
- name: Install stable | |
uses: dtolnay/rust-toolchain@stable | |
with: | |
components: rustfmt | |
- name: cargo fmt --check | |
run: cargo fmt --check | |
clippy: | |
runs-on: ubuntu-latest | |
name: ${{ matrix.toolchain }} / clippy | |
permissions: | |
contents: read | |
checks: write | |
strategy: | |
fail-fast: false | |
matrix: | |
toolchain: [stable, beta] | |
steps: | |
- name: Setup Tools | |
shell: bash | |
run: | | |
sudo apt-get -qq update && \ | |
sudo apt-get -qq install --no-install-recommends -y curl unzip gcc g++ git | |
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4 | |
with: | |
submodules: false | |
- name: Install ${{ matrix.toolchain }} | |
uses: dtolnay/rust-toolchain@master | |
with: | |
toolchain: ${{ matrix.toolchain }} | |
components: clippy | |
- name: cargo clippy | |
uses: actions-rs/clippy-check@b5b5f21f4797c02da247df37026fcd0a5024aa4d # v1 | |
with: | |
token: ${{ secrets.GITHUB_TOKEN }} | |
# doc: | |
# name: nightly / doc | |
# steps: | |
# - name: Setup Tools | |
# shell: bash | |
# run: | | |
# sudo apt-get -qq update && \ | |
# sudo apt-get -qq install --no-install-recommends -y curl unzip gcc g++ git | |
# - uses: actions/checkout@v4 | |
# with: | |
# submodules: false | |
# - name: Install nightly | |
# uses: dtolnay/rust-toolchain@nightly | |
# - name: cargo doc | |
# run: cargo doc --no-deps --all-features | |
# env: | |
# RUSTDOCFLAGS: --cfg docsrs | |
# hack: | |
# runs-on: ubuntu-latest | |
# name: ubuntu / stable / features | |
# steps: | |
# - name: Setup Tools | |
# shell: bash | |
# run: | | |
# sudo apt-get -qq update && \ | |
# sudo apt-get -qq install --no-install-recommends -y curl unzip gcc g++ git | |
# - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4 | |
# with: | |
# submodules: false | |
# - name: Install stable | |
# uses: dtolnay/rust-toolchain@stable | |
# - name: cargo install cargo-hack | |
# uses: taiki-e/install-action@cargo-hack | |
# # intentionally no target specifier; see https://github.com/jonhoo/rust-ci-conf/pull/4 | |
# - name: cargo hack | |
# run: cargo hack --feature-powerset check | |
# msrv: | |
# runs-on: ubuntu-latest | |
# # we use a matrix here just because env can't be used in job names | |
# # https://docs.github.com/en/actions/learn-github-actions/contexts#context-availability | |
# strategy: | |
# matrix: | |
# msrv: ["1.56.1"] # 2021 edition requires 1.56 | |
# name: ubuntu / ${{ matrix.msrv }} | |
# steps: | |
# - uses: actions/checkout@v3 | |
# with: | |
# submodules: true | |
# - name: Install ${{ matrix.msrv }} | |
# uses: dtolnay/rust-toolchain@master | |
# with: | |
# toolchain: ${{ matrix.msrv }} | |
# - name: cargo +${{ matrix.msrv }} check | |
# run: cargo check |