mirror of
https://github.com/nushell/nushell.git
synced 2025-01-11 08:48:23 +01:00
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:
parent
f2d7454330
commit
2516305fa8
16
.github/workflows/ci.yml
vendored
16
.github/workflows/ci.yml
vendored
@ -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:
|
||||||
|
Loading…
Reference in New Issue
Block a user