Skip to content

Update reqwest requirement from 0.11.11 to 0.12.1 #86

Update reqwest requirement from 0.11.11 to 0.12.1

Update reqwest requirement from 0.11.11 to 0.12.1 #86

Workflow file for this run

name: Cargo Build & Test
on:
push:
pull_request:
env:
CARGO_TERM_COLOR: always
RUSTFLAGS: "-C link-dead-code"
jobs:
#call_setup:
# uses: ./.github/workflows/setup.yml
build_and_test:
name: Rust project - latest
runs-on: ubuntu-latest
strategy:
matrix:
toolchain:
#- stable
#- beta
- nightly
steps:
- uses: actions/checkout@v3
- uses: actions/cache@v3
with:
path: |
~/.cargo/registry
~/.cargo/git
target
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
- run: rustup update ${{ matrix.toolchain }} && rustup default ${{ matrix.toolchain }}
- run: rustup component add rustfmt
- run: rustup component add clippy
- run: cargo update
- name: Check formatting
run: cargo fmt --all -- --check
- name: Check Clippy
run: cargo clippy --verbose
- name: Run tests
run: cargo test --verbose