From fd9b4c523b6bd7fe47a3d2450563b667a814a4e7 Mon Sep 17 00:00:00 2001 From: Friedrich Wilken Date: Tue, 19 Dec 2023 12:17:41 +0100 Subject: [PATCH] cache binaries --- .github/workflows/pull-with-lifecycle-manager.yaml | 7 +++++++ .github/workflows/pull-without-lifecycle-manager.yml | 7 +++++++ .github/workflows/push-with-lifecycle-manager.yaml | 7 +++++++ .github/workflows/unit-tests.yml | 7 +++++++ 4 files changed, 28 insertions(+) diff --git a/.github/workflows/pull-with-lifecycle-manager.yaml b/.github/workflows/pull-with-lifecycle-manager.yaml index 7f8221c5..c0832f9b 100644 --- a/.github/workflows/pull-with-lifecycle-manager.yaml +++ b/.github/workflows/pull-with-lifecycle-manager.yaml @@ -26,6 +26,13 @@ jobs: with: go-version-file: "./go.mod" + - name: Cache Binaries + id: cache-binaries + uses: actions/cache@v3 + with: + path: bin + key: ${{ runner.os }}-bin + - name: Install k3d tools run: | make -C hack/ci/ install-k3d-tools diff --git a/.github/workflows/pull-without-lifecycle-manager.yml b/.github/workflows/pull-without-lifecycle-manager.yml index ceee1257..b709df75 100644 --- a/.github/workflows/pull-without-lifecycle-manager.yml +++ b/.github/workflows/pull-without-lifecycle-manager.yml @@ -26,6 +26,13 @@ jobs: with: go-version-file: "./go.mod" + - name: Cache Binaries + id: cache-binaries + uses: actions/cache@v3 + with: + path: bin + key: ${{ runner.os }}-bin + - name: Install k3d tools run: | make -C hack/ci/ install-k3d-tools diff --git a/.github/workflows/push-with-lifecycle-manager.yaml b/.github/workflows/push-with-lifecycle-manager.yaml index 34f30268..6779bd0d 100644 --- a/.github/workflows/push-with-lifecycle-manager.yaml +++ b/.github/workflows/push-with-lifecycle-manager.yaml @@ -26,6 +26,13 @@ jobs: with: go-version-file: "./go.mod" + - name: Cache Binaries + id: cache-binaries + uses: actions/cache@v3 + with: + path: bin + key: ${{ runner.os }}-bin + - name: Install k3d tools run: | make -C hack/ci/ install-k3d-tools diff --git a/.github/workflows/unit-tests.yml b/.github/workflows/unit-tests.yml index c0180127..133dcb12 100644 --- a/.github/workflows/unit-tests.yml +++ b/.github/workflows/unit-tests.yml @@ -34,5 +34,12 @@ jobs: with: go-version-file: "./go.mod" + - name: Cache Binaries + id: cache-binaries + uses: actions/cache@v3 + with: + path: bin + key: ${{ runner.os }}-bin + - name: Execute unit test run: make test