strike-rs 0.4.0

Strike API SDK
Documentation
name: CI

on:
  push:
    branches: [ main ]
  pull_request:
    branches: [ main ]

env:
  CARGO_TERM_COLOR: always

jobs:
  build-msrv:
    name:
    runs-on: ubuntu-latest
    strategy:
      matrix:
        rust:
          - version: 1.63.0
    steps:
    - name: Checkout
      uses: actions/checkout@v3
    - name: Cache
      uses: actions/cache@v3
      with:
        path: |
          ~/.cargo/registry
          ~/.cargo/git
          target
        key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.toml','**/Cargo.lock') }}
    - name: Set default toolchain
      run: rustup default ${{ matrix.rust.version }}
    - name: Fixes for MSRV
      run: |
          cargo update
          cargo update -p tokio --precise 1.38.1
          cargo update -p reqwest --precise 0.12.4
    - name: Set profile
      run: rustup set profile minimal && rustup component add clippy
    - name: Build
      run: cargo build