feat: bump to Rust edition 2024 (#132)
* feat: bump to Rust edition 2024 Signed-off-by: Alex Chi <iskyzh@gmail.com> * allow deadcode Signed-off-by: Alex Chi <iskyzh@gmail.com> * fix deploy to pages Signed-off-by: Alex Chi <iskyzh@gmail.com> * fix fmt Signed-off-by: Alex Chi <iskyzh@gmail.com> * update actions Signed-off-by: Alex Chi <iskyzh@gmail.com> --------- Signed-off-by: Alex Chi <iskyzh@gmail.com>
This commit is contained in:
6
.github/workflows/main.yml
vendored
6
.github/workflows/main.yml
vendored
@@ -14,14 +14,14 @@ jobs:
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: setup rust toolchain
|
||||
run: rustup show
|
||||
run: rustup toolchain install
|
||||
- uses: taiki-e/install-action@nextest
|
||||
- uses: taiki-e/install-action@mdbook
|
||||
- name: patch for gh-pages build
|
||||
run: mv mini-lsm-book/theme/head.hbs._ mini-lsm-book/theme/head.hbs
|
||||
- name: check and build
|
||||
run: cargo x ci
|
||||
- uses: actions/upload-pages-artifact@v1
|
||||
- uses: actions/upload-pages-artifact@v3
|
||||
with:
|
||||
path: mini-lsm-book/book
|
||||
|
||||
@@ -38,4 +38,4 @@ jobs:
|
||||
steps:
|
||||
- name: Deploy to GitHub Pages
|
||||
id: deployment
|
||||
uses: actions/deploy-pages@v1
|
||||
uses: actions/deploy-pages@v4
|
||||
|
||||
Reference in New Issue
Block a user