Skip to content

Commit

Permalink
⬆️ upgrade dependencies #95
Browse files Browse the repository at this point in the history
* Update surrealdb 2.1.0

* Update toolchain

rustc 1.80.1 is not supported by the following package:
  [email protected] requires rustc 1.81.0

* Update deny file to actual settings

* Update depends that are using yanked versions

* Don't use the beta versions of surrealdb

* Update example depends

* Drop wee_alloc due to RUSTSEC-2022-0054

* Update [email protected]
  • Loading branch information
johansmitsnl authored Jan 8, 2025
1 parent c41a902 commit bef57bb
Show file tree
Hide file tree
Showing 10 changed files with 925 additions and 770 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,16 +17,16 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v3

- name: Install 1.80.1 toolchain
uses: dtolnay/rust-toolchain@1.80.1
- name: Install 1.81.0 toolchain
uses: dtolnay/rust-toolchain@1.81.0
with:
components: clippy, rustfmt

- name: Cache Rust dependencies
uses: Swatinem/rust-cache@v2

- name: Download SurrealDB
run: curl --proto '=https' --tlsv1.2 -sSf https://install.surrealdb.com | sh -s -- --beta
run: curl --proto '=https' --tlsv1.2 -sSf https://install.surrealdb.com | sh

- name: Run SurrealDB root
run: surreal start --user root --pass root memory &
Expand Down Expand Up @@ -57,14 +57,14 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v3

- name: Install 1.80.1 toolchain
uses: dtolnay/rust-toolchain@1.80.1
- name: Install 1.81.0 toolchain
uses: dtolnay/rust-toolchain@1.81.0

- name: Cache Rust dependencies
uses: Swatinem/rust-cache@v2

- name: Download SurrealDB
run: curl --proto '=https' --tlsv1.2 -sSf https://install.surrealdb.com | sh -s -- --beta
run: curl --proto '=https' --tlsv1.2 -sSf https://install.surrealdb.com | sh

- name: Run SurrealDB root
run: surreal start --user root --pass root memory &
Expand Down Expand Up @@ -94,8 +94,8 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v3

- name: Install 1.80.1 toolchain
uses: dtolnay/rust-toolchain@1.80.1
- name: Install 1.81.0 toolchain
uses: dtolnay/rust-toolchain@1.81.0

- name: Cache Rust dependencies
uses: Swatinem/rust-cache@v2
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v3

- name: Install 1.80.1 toolchain
uses: dtolnay/rust-toolchain@1.80.1
- name: Install 1.81.0 toolchain
uses: dtolnay/rust-toolchain@1.81.0

- name: Cache Rust dependencies
uses: Swatinem/rust-cache@v2
Expand All @@ -48,8 +48,8 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v3

- name: Install 1.80.1 toolchain
uses: dtolnay/rust-toolchain@1.80.1
- name: Install 1.81.0 toolchain
uses: dtolnay/rust-toolchain@1.81.0

- name: Cache Rust dependencies
uses: Swatinem/rust-cache@v2
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/samples.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v3

- name: Install 1.80.1 toolchain
uses: dtolnay/rust-toolchain@1.80.1
- name: Install 1.81.0 toolchain
uses: dtolnay/rust-toolchain@1.81.0

- name: Install wasm-pack
uses: jetli/[email protected]
Expand Down
Loading

0 comments on commit bef57bb

Please sign in to comment.