Stricter caching
@@ -25,8 +25,6 @@ jobs:
with:
path: target
key: ${{ runner.OS }}-build-${{ hashFiles('**/Cargo.lock') }}
- restore-keys: |
- ${{ runner.OS }}-build-
- run: cargo test
- run: cargo build --release
- run: target/release/gleam --version
@@ -45,8 +43,6 @@ jobs:
with:
path: target
key: ${{ runner.OS }}-build-${{ hashFiles('**/Cargo.lock') }}
- restore-keys: |
- ${{ runner.OS }}-build-
- run: $HOME/.cargo/bin/cargo test
- run: $HOME/.cargo/bin/cargo build --release
- run: target/release/gleam --version
@@ -60,9 +56,6 @@ jobs:
with:
path: target
key: ${{ runner.OS }}-build-${{ hashFiles('**\Cargo.lock') }}
- restore-keys: |
- ${{ runner.OS }}-build-
-
- run: cargo test
- run: cargo build --release
- run: target/release/gleam --version
