diff --git a/.github/workflows/ci_format_code.yml b/.github/workflows/ci_format_code.yml index e7d1b22..2f4423b 100644 --- a/.github/workflows/ci_format_code.yml +++ b/.github/workflows/ci_format_code.yml @@ -7,5 +7,14 @@ jobs: steps: - name: Checkout (GitHub) uses: actions/checkout@v4 + - uses: actions/cache@v4 + with: + path: | + ~/.cargo/bin/ + ~/.cargo/registry/index/ + ~/.cargo/registry/cache/ + ~/.cargo/git/db/ + target/ + key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }} - name: Verify Code is formatted run: cargo fmt -- --check diff --git a/.github/workflows/ci_integration_test.yml b/.github/workflows/ci_integration_test.yml index 970c048..42de791 100644 --- a/.github/workflows/ci_integration_test.yml +++ b/.github/workflows/ci_integration_test.yml @@ -7,6 +7,15 @@ jobs: steps: - name: Checkout (GitHub) uses: actions/checkout@v4 + - uses: actions/cache@v4 + with: + path: | + ~/.cargo/bin/ + ~/.cargo/registry/index/ + ~/.cargo/registry/cache/ + ~/.cargo/git/db/ + target/ + key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }} - name: Login to GitHub Container Registry uses: docker/login-action@v3 with: diff --git a/.github/workflows/ci_lint.yml b/.github/workflows/ci_lint.yml index e8f5756..056d30f 100644 --- a/.github/workflows/ci_lint.yml +++ b/.github/workflows/ci_lint.yml @@ -7,6 +7,15 @@ jobs: steps: - name: Checkout (GitHub) uses: actions/checkout@v4 + - uses: actions/cache@v4 + with: + path: | + ~/.cargo/bin/ + ~/.cargo/registry/index/ + ~/.cargo/registry/cache/ + ~/.cargo/git/db/ + target/ + key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }} - name: Login to GitHub Container Registry uses: docker/login-action@v3 with: diff --git a/.github/workflows/ci_unit_test.yml b/.github/workflows/ci_unit_test.yml index d989814..c61955b 100644 --- a/.github/workflows/ci_unit_test.yml +++ b/.github/workflows/ci_unit_test.yml @@ -7,6 +7,15 @@ jobs: steps: - name: Checkout (GitHub) uses: actions/checkout@v4 + - uses: actions/cache@v4 + with: + path: | + ~/.cargo/bin/ + ~/.cargo/registry/index/ + ~/.cargo/registry/cache/ + ~/.cargo/git/db/ + target/ + key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }} - name: Login to GitHub Container Registry uses: docker/login-action@v3 with: