diff --git a/.github/workflows/build-release.yml b/.github/workflows/build-release.yml index c2d04f7..62ca1b7 100644 --- a/.github/workflows/build-release.yml +++ b/.github/workflows/build-release.yml @@ -44,10 +44,6 @@ jobs: with: toolchain: stable target: ${{ matrix.rust-target }} - - name: Restore cargo cache - uses: Swatinem/rust-cache@v2 - with: - shared-key: ${{ matrix.os }}-${{ matrix.rust-target }} - name: Version bump shell: bash run: | diff --git a/.github/workflows/ci-pr.yml b/.github/workflows/ci-pr.yml index cf4383e..a24cf13 100644 --- a/.github/workflows/ci-pr.yml +++ b/.github/workflows/ci-pr.yml @@ -5,20 +5,14 @@ on: types: [opened, synchronize, reopened] jobs: - call-workflow-rust-cache: - name: run rust-cache action - uses: mdpadberg/multi-cf/.github/workflows/rust-cache.yml@main call-workflow-clippy: name: run clippy github action - needs: [call-workflow-rust-cache] uses: mdpadberg/multi-cf/.github/workflows/clippy.yml@main secrets: token: ${{ secrets.GITHUB_TOKEN }} call-workflow-unit-tests: name: run unit tests - needs: [call-workflow-rust-cache] uses: mdpadberg/multi-cf/.github/workflows/unit-tests.yml@main call-workflow-integration-tests: name: run integration tests - needs: [call-workflow-rust-cache] uses: mdpadberg/multi-cf/.github/workflows/integration-tests.yml@main diff --git a/.github/workflows/ci-tags.yml b/.github/workflows/ci-tags.yml index 7cb03d0..93b6034 100644 --- a/.github/workflows/ci-tags.yml +++ b/.github/workflows/ci-tags.yml @@ -6,12 +6,8 @@ on: - "[0-9]+.[0-9]+.[0-9]+" jobs: - call-workflow-rust-cache: - name: run rust-cache action - uses: mdpadberg/multi-cf/.github/workflows/rust-cache.yml@main call-workflow-clippy: name: run clippy github action - needs: [call-workflow-rust-cache] uses: mdpadberg/multi-cf/.github/workflows/clippy.yml@main secrets: token: ${{ secrets.GITHUB_TOKEN }} diff --git a/.github/workflows/clippy.yml b/.github/workflows/clippy.yml index cb208cb..8c6c9e4 100644 --- a/.github/workflows/clippy.yml +++ b/.github/workflows/clippy.yml @@ -17,10 +17,6 @@ jobs: uses: dtolnay/rust-toolchain@stable with: components: clippy - - name: Restore cargo cache - uses: Swatinem/rust-cache@v2 - with: - shared-key: ubuntu-latest-x86_64-unknown-linux-gnu - uses: giraffate/clippy-action@v1 with: reporter: 'github-pr-review' diff --git a/.github/workflows/integration-tests.yml b/.github/workflows/integration-tests.yml index 4786cee..fef0fdd 100644 --- a/.github/workflows/integration-tests.yml +++ b/.github/workflows/integration-tests.yml @@ -17,9 +17,5 @@ jobs: with: toolchain: stable target: x86_64-unknown-linux-gnu - - name: Restore cargo cache - uses: Swatinem/rust-cache@v2 - with: - shared-key: ubuntu-latest-x86_64-unknown-linux-gnu - name: Run integration tests run: docker-compose up --exit-code-from mcf --build \ No newline at end of file diff --git a/.github/workflows/rust-cache.yml b/.github/workflows/rust-cache.yml deleted file mode 100644 index 15d0345..0000000 --- a/.github/workflows/rust-cache.yml +++ /dev/null @@ -1,27 +0,0 @@ -name: run rust-cache action - -on: - workflow_call: - -jobs: - rust-cache: - name: run rust-cache action - strategy: - matrix: - include: - - os: macos-latest - rust-target: x86_64-apple-darwin - - os: ubuntu-latest - rust-target: x86_64-unknown-linux-gnu - - os: windows-latest - rust-target: x86_64-pc-windows-gnu - runs-on: ${{ matrix.os }} - steps: - - name: Install Rust with cargo - uses: dtolnay/rust-toolchain@stable - with: - components: clippy - - name: Restore cargo cache - uses: Swatinem/rust-cache@v2 - with: - shared-key: ${{ matrix.os }}-${{ matrix.rust-target }} \ No newline at end of file diff --git a/.github/workflows/unit-tests.yml b/.github/workflows/unit-tests.yml index 1c47bb7..9b1f567 100644 --- a/.github/workflows/unit-tests.yml +++ b/.github/workflows/unit-tests.yml @@ -30,9 +30,5 @@ jobs: with: toolchain: stable target: ${{ matrix.rust-target }} - - name: Restore cargo cache - uses: Swatinem/rust-cache@v2 - with: - shared-key: ${{ matrix.os }}-${{ matrix.rust-target }} - name: Run unit tests run: cargo test --verbose \ No newline at end of file