Fix: env vars loading order is not consistent #934 #1345
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: CI | |
on: [push, pull_request] | |
env: | |
CLICOLOR_FORCE: 1 | |
jobs: | |
ci: | |
name: CI | |
runs-on: ${{ matrix.os }} | |
strategy: | |
fail-fast: false | |
matrix: | |
rust: [stable, beta, nightly, 1.67.0] | |
os: [ubuntu-latest, windows-latest, macOS-latest] | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Install rust | |
uses: actions-rs/toolchain@v1 | |
with: | |
toolchain: ${{ matrix.rust }} | |
profile: minimal | |
override: true | |
- name: Install cargo-make | |
uses: actions-rs/cargo@v1 | |
with: | |
command: install | |
args: --debug cargo-make | |
- name: Run CI | |
if: matrix.rust == 'stable' || matrix.rust == 'beta' || matrix.rust == 'nightly' | |
uses: actions-rs/cargo@v1 | |
with: | |
command: run | |
args: --bin cargo-make --target-dir target/ci -- make ci-flow | |
- name: Run CI (Minimal Supported Rust Version) | |
if: matrix.rust != 'stable' && matrix.rust != 'beta' && matrix.rust != 'nightly' && matrix.os == 'ubuntu-latest' | |
uses: actions-rs/cargo@v1 | |
with: | |
command: make | |
args: ci-flow |