CI: enable rust-cache, remove minimal (#5354)

* Enable rust-cache

Add cache buster key

Add rust-cache to python venv

* Remove minimal CI
This commit is contained in:
Reilly Wood 2022-04-28 11:18:27 -07:00 committed by GitHub
parent f2d7454330
commit 2516305fa8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -8,7 +8,7 @@ jobs:
fail-fast: false fail-fast: false
matrix: matrix:
platform: [windows-latest, macos-latest, ubuntu-latest] platform: [windows-latest, macos-latest, ubuntu-latest]
style: [all, default, minimal] style: [all, default]
rust: rust:
- stable - stable
include: include:
@ -16,17 +16,11 @@ jobs:
flags: '--all-features' flags: '--all-features'
- style: default - style: default
flags: '' flags: ''
- style: minimal
flags: '--no-default-features'
exclude: exclude:
- platform: windows-latest - platform: windows-latest
style: default style: default
- platform: windows-latest
style: minimal
- platform: macos-latest - platform: macos-latest
style: default style: default
- platform: macos-latest
style: minimal
runs-on: ${{ matrix.platform }} runs-on: ${{ matrix.platform }}
@ -41,6 +35,10 @@ jobs:
override: true override: true
components: rustfmt, clippy components: rustfmt, clippy
- uses: Swatinem/rust-cache@v1
with:
key: "1" # increment this to bust the cache if needed
- name: Rustfmt - name: Rustfmt
uses: actions-rs/cargo@v1 uses: actions-rs/cargo@v1
with: with:
@ -89,6 +87,10 @@ jobs:
override: true override: true
components: rustfmt, clippy components: rustfmt, clippy
- uses: Swatinem/rust-cache@v1
with:
key: "1" # increment this to bust the cache if needed
- name: Install Nushell - name: Install Nushell
uses: actions-rs/cargo@v1 uses: actions-rs/cargo@v1
with: with: