Move cache action after repo clone
All checks were successful
Run Tests on Code / run-tests (push) Successful in 30s

This commit is contained in:
Neshura 2023-12-19 22:49:03 +01:00
parent db88d475dd
commit f32e7d6ee5
Signed by: Neshura
GPG key ID: B6983AAA6B9A7A6C
2 changed files with 9 additions and 9 deletions

View file

@ -17,6 +17,9 @@ jobs:
-
name: Add Clippy
run: rustup component add clippy
-
name: Checking Out Repository Code
uses: https://code.forgejo.org/actions/checkout@v3
-
name: Set Up Cargo Cache
uses: actions/cache@v3
@ -28,9 +31,6 @@ jobs:
~/.cargo/git/db/
target/
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
-
name: Checking Out Repository Code
uses: https://code.forgejo.org/actions/checkout@v3
-
name: Run Clippy
run: cargo clippy
@ -54,6 +54,9 @@ jobs:
-
name: Installing Node
run: apt update && apt install -y nodejs
-
name: Checking Out Repository Code
uses: https://code.forgejo.org/actions/checkout@v3
-
name: Set Up Cargo Cache
uses: actions/cache@v3
@ -65,9 +68,6 @@ jobs:
~/.cargo/git/db/
target/
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
-
name: Checking Out Repository Code
uses: https://code.forgejo.org/actions/checkout@v3
-
name: Compiling To Linux Target
run: |

View file

@ -18,6 +18,9 @@ jobs:
-
name: Add Clippy
run: rustup component add clippy
-
name: Checking Out Repository Code
uses: https://code.forgejo.org/actions/checkout@v3
-
name: Set Up Cargo Cache
uses: actions/cache@v3
@ -29,9 +32,6 @@ jobs:
~/.cargo/git/db/
target/
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
-
name: Checking Out Repository Code
uses: https://code.forgejo.org/actions/checkout@v3
-
name: Run Clippy
run: cargo clippy