Skip to content

Commit

Permalink
Merge pull request #81 from mdpadberg/80-remove-action-cache
Browse files Browse the repository at this point in the history
Remove all cache steps in workflows, because it doesnt work
  • Loading branch information
mdpadberg authored Nov 28, 2023
2 parents 88f73d7 + 7e36372 commit 57437cc
Show file tree
Hide file tree
Showing 7 changed files with 0 additions and 53 deletions.
4 changes: 0 additions & 4 deletions .github/workflows/build-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand Down
6 changes: 0 additions & 6 deletions .github/workflows/ci-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
4 changes: 0 additions & 4 deletions .github/workflows/ci-tags.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down
4 changes: 0 additions & 4 deletions .github/workflows/clippy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down
4 changes: 0 additions & 4 deletions .github/workflows/integration-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
27 changes: 0 additions & 27 deletions .github/workflows/rust-cache.yml

This file was deleted.

4 changes: 0 additions & 4 deletions .github/workflows/unit-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 57437cc

Please sign in to comment.