Skip to content

Commit

Permalink
cI: remove rust cache (#1074)
Browse files Browse the repository at this point in the history
  • Loading branch information
zsol authored Dec 20, 2023
1 parent ce5903f commit 43a27b1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 15 deletions.
5 changes: 0 additions & 5 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,11 +48,6 @@ jobs:
cache: pip
cache-dependency-path: "pyproject.toml"
python-version: "3.10"
- name: Rust Cache
if: ${{ !contains(matrix.os, 'self-hosted') }}
uses: Swatinem/[email protected]
with:
working-directory: native
- name: Disable scmtools local scheme
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }}
run: >-
Expand Down
12 changes: 2 additions & 10 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,9 @@ jobs:
- name: Install hatch
run: |
pip install -U hatch
- uses: dtolnay/rust-toolchain@stable
- name: Rust Cache
uses: Swatinem/[email protected]
- uses: actions-rs/toolchain@v1
with:
shared-key: "shared"
workspaces: native
toolchain: stable
- name: Build LibCST
run: hatch env create
- name: Tests
Expand Down Expand Up @@ -139,11 +136,6 @@ jobs:
- uses: dtolnay/rust-toolchain@stable
with:
components: rustfmt, clippy
- name: Rust Cache
uses: Swatinem/[email protected]
with:
shared-key: "shared"
workspaces: native
- uses: actions/setup-python@v4
with:
cache: pip
Expand Down

0 comments on commit 43a27b1

Please sign in to comment.