rust-cache fix (#5359)

* Enable CI on merges to main

* Re-enable rust-cache for virtualenv tests
This commit is contained in:
Reilly Wood 2022-04-28 15:57:26 -07:00 committed by GitHub
parent 7714956276
commit b4f8798a3a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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: