mirror of
https://github.com/nushell/nushell.git
synced 2024-11-26 02:13:47 +01:00
rust-cache fix (#5359)
* Enable CI on merges to main * Re-enable rust-cache for virtualenv tests
This commit is contained in:
parent
7714956276
commit
b4f8798a3a
10
.github/workflows/ci.yml
vendored
10
.github/workflows/ci.yml
vendored
@ -1,4 +1,8 @@
|
||||
on: [pull_request]
|
||||
on:
|
||||
pull_request:
|
||||
push: # Run CI on the main branch after every merge. This is important to fill the GitHub Actions cache in a way that pull requests can see it
|
||||
branches:
|
||||
- main
|
||||
|
||||
name: continuous-integration
|
||||
|
||||
@ -86,6 +90,10 @@ jobs:
|
||||
toolchain: ${{ matrix.rust }}
|
||||
override: true
|
||||
|
||||
- uses: Swatinem/rust-cache@v1
|
||||
with:
|
||||
key: "1" # increment this to bust the cache if needed
|
||||
|
||||
- name: Install Nushell
|
||||
uses: actions-rs/cargo@v1
|
||||
with:
|
||||
|
Loading…
Reference in New Issue
Block a user