rust cache

This commit is contained in:
Robin Appelman 2020-11-30 20:01:00 +01:00
commit e7f69f6544

View file

@ -13,6 +13,7 @@ jobs:
profile: minimal profile: minimal
toolchain: stable toolchain: stable
override: true override: true
- uses: Swatinem/rust-cache@v1
- uses: actions-rs/cargo@v1 - uses: actions-rs/cargo@v1
with: with:
command: check command: check
@ -54,10 +55,11 @@ jobs:
- uses: actions-rs/toolchain@v1 - uses: actions-rs/toolchain@v1
with: with:
toolchain: stable toolchain: stable
- uses: Swatinem/rust-cache@v1
- uses: actions-rs/cargo@v1 - uses: actions-rs/cargo@v1
env: env:
DB_URL: postgres://postgres:test@localhost/postgres DB_URL: postgres://postgres:test@localhost/postgres
API_ROOT: http://localhost/ BASE_URL: http://localhost/
EDIT_KEY: edit EDIT_KEY: edit
with: with:
command: run command: run
@ -72,6 +74,7 @@ jobs:
with: with:
toolchain: stable toolchain: stable
target: x86_64-unknown-linux-musl target: x86_64-unknown-linux-musl
- uses: Swatinem/rust-cache@v1
- uses: actions-rs/cargo@v1 - uses: actions-rs/cargo@v1
with: with:
command: build command: build