Skip to content

Enhancement: config to disable all installation steps #1147 #1968

Enhancement: config to disable all installation steps #1147

Enhancement: config to disable all installation steps #1147 #1968

Workflow file for this run

name: CI
on: [push, pull_request]
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
env:
CLICOLOR_FORCE: 1
CARGO_REGISTRIES_CRATES_IO_PROTOCOL: sparse
jobs:
ci:
name: CI
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
rust: [stable, beta, nightly, 1.73.0]
os: [ubuntu-latest, windows-latest, macOS-latest]
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install rust
uses: dtolnay/rust-toolchain@master
with:
toolchain: ${{ matrix.rust }}
- name: Install cargo-make
run: cargo install --debug cargo-make
- name: Rust Cache
uses: Swatinem/rust-cache@v2
- name: Run CI
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
if: matrix.rust == 'stable' || matrix.rust == 'beta' || matrix.rust == 'nightly'
run: cargo run --bin cargo-make --target-dir target/ci -- make --env "CODECOV_TOKEN=${CODECOV_TOKEN}" ci-flow
- name: Run CI (Minimal Supported Rust Version)
if: matrix.rust != 'stable' && matrix.rust != 'beta' && matrix.rust != 'nightly' && matrix.os == 'ubuntu-latest'
run: cargo make ci-flow