File tree Expand file tree Collapse file tree 3 files changed +8
-9
lines changed
Expand file tree Collapse file tree 3 files changed +8
-9
lines changed Original file line number Diff line number Diff line change 1717 runs-on : ubuntu-latest
1818 steps :
1919 - name : Checkout
20- uses : actions/checkout@v3
20+ uses : actions/checkout@v4
2121 - uses : actions/setup-node@v3
2222 with :
2323 node-version : 18
@@ -35,16 +35,14 @@ jobs:
3535 with :
3636 file-url : ' https://static.crates.io/db-dump.tar.gz'
3737 location : ' ./.tmp'
38- - uses : actions-rs/toolchain@v1
39- with :
40- toolchain : stable
38+ - uses : dtolnay/rust-toolchain@stable
4139 - name : Run crates.io DB dump scraper
4240 uses : actions-rs/cargo@v1
4341 with :
4442 command : run
4543 # args: --release --all-features
4644 - name : Build Zola and deploy
47- uses : shalzz/zola-deploy-action@v0.17.0
45+ uses : shalzz/zola-deploy-action@v0.19.2
4846 env :
4947 # Target branch
5048 PAGES_BRANCH : gh-pages
Original file line number Diff line number Diff line change @@ -8,15 +8,15 @@ edition = "2021"
88
99[dependencies ]
1010# for binary
11- env_logger = " 0.10 "
11+ env_logger = " 0.11 "
1212
1313anyhow = " 1.0"
1414
1515chrono = {version = " 0.4" , features = [" serde" ]}
1616clap = {version = " 4" , features = [" derive" , " cargo" ]}
17- db-dump = {version = " 0.4 " }
17+ db-dump = {version = " 0.7 " }
1818log = " 0.4"
19- octocrab = " 0.32 "
19+ octocrab = " 0.41 "
2020
2121serde = {version = " 1" , features = [" derive" ]}
2222serde_json = " 1.0"
Original file line number Diff line number Diff line change @@ -59,7 +59,8 @@ impl From<&crates::Row> for CrateData {
5959 fn from ( row : & crates:: Row ) -> Self {
6060 Self {
6161 name : row. name . clone ( ) ,
62- downloads : row. downloads ,
62+ // todo:fix
63+ downloads : 0 ,
6364 description : row. description . clone ( ) ,
6465 homepage : row. homepage . clone ( ) ,
6566 documentation : row. documentation . clone ( ) ,
You can’t perform that action at this time.
0 commit comments