Move cache action after repo clone
All checks were successful
Run Tests on Code / run-tests (push) Successful in 30s
All checks were successful
Run Tests on Code / run-tests (push) Successful in 30s
This commit is contained in:
parent
db88d475dd
commit
f32e7d6ee5
2 changed files with 9 additions and 9 deletions
|
@ -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: |
|
||||
|
|
|
@ -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
|
Loading…
Reference in a new issue