Skip to content

Commit e466d3f

Browse files
committed
Remove CI build cache
1 parent f2011bb commit e466d3f

File tree

1 file changed

+1
-24
lines changed

1 file changed

+1
-24
lines changed

.github/workflows/rust.yml

Lines changed: 1 addition & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -10,31 +10,8 @@ jobs:
1010
runs-on: ubuntu-latest
1111
steps:
1212
- uses: actions/checkout@v4
13-
- name: Cache cargo build
14-
uses: actions/cache@v4
15-
with:
16-
path: |
17-
~/.cargo/registry
18-
~/.cargo/git
19-
target
20-
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock', '**/*.rs', '**/Cargo.toml') }}
21-
- name: Cache cargo binaries
22-
uses: actions/cache@v4
23-
with:
24-
path: ~/.cargo/bin
25-
key: cargo-bin-${{ runner.os }}-v1
26-
- name: Install cargo-sort if needed
27-
run: |
28-
if ! command -v cargo-sort &> /dev/null; then
29-
echo "Installing cargo-sort..."
30-
cargo install cargo-sort
31-
else
32-
echo "cargo-sort already installed from cache."
33-
fi
34-
- name: cargo sort
35-
run: cargo sort --check
3613
- name: Build
37-
run: cargo build --features "serde"
14+
run: cargo build
3815
- name: Run tests
3916
run: cargo test -- --test-threads=1
4017
- name: fmt

0 commit comments

Comments
 (0)