Compare commits

..

3 Commits

Author SHA1 Message Date
Tommy G
fb83164bea Merge 8d70dfb799 into 5656298164 2026-02-26 11:33:01 +00:00
Tommy G
8d70dfb799 Merge branch 'main' into main 2023-07-18 08:30:27 +10:00
Tommy G
d53778de5f Include .crates.toml in Rust example
Using the existing example, cargo install will error out after restoring a cache:
```
cargo install cargo-tarpaulin
    Updating crates.io index
error: binary `cargo-tarpaulin` already exists in destination
Add --force to overwrite
Error: Process completed with exit code 101.
```

`--force` is undesirable because it will recompile the binary.  Cargo is scared of the existing binary because it doesn't have enough information about it.  Including `~/.cargo/.crates.toml` coaxes it into being okay with the situation.
2023-05-04 16:33:36 +10:00
3 changed files with 273 additions and 5272 deletions

View File

@@ -613,6 +613,7 @@ whenever possible:
- uses: actions/cache@v5
with:
path: |
~/.cargo/.crates.toml
~/.cargo/bin/
~/.cargo/registry/index/
~/.cargo/registry/cache/

5540
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@@ -29,7 +29,7 @@
"@actions/io": "^2.0.0"
},
"devDependencies": {
"@types/jest": "^30.0.0",
"@types/jest": "^29.5.14",
"@types/nock": "^11.1.0",
"@types/node": "^24.1.0",
"@typescript-eslint/eslint-plugin": "^7.2.0",
@@ -41,7 +41,7 @@
"eslint-plugin-jest": "^27.9.0",
"eslint-plugin-prettier": "^5.5.3",
"eslint-plugin-simple-import-sort": "^12.1.1",
"jest": "^30.2.0",
"jest": "^29.7.0",
"jest-circus": "^29.7.0",
"nock": "^13.2.9",
"prettier": "^3.6.2",