Skip to content

Commit fe61328

Browse files
author
Kai Mast
authored
Chore: Update rust toolchain and dependencies (open-lambda#135)
* Update rust toolchain and dependencies * CI: Update rust-cache to v2 * Fix incompatibility with new pandas version * Re-add W3101 to pylint
1 parent f05345a commit fe61328

File tree

12 files changed

+666
-514
lines changed

12 files changed

+666
-514
lines changed

.github/workflows/ci.yml

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
shell: bash
2020
steps:
2121
- name: Checkout repository
22-
uses: actions/checkout@v2
22+
uses: actions/checkout@v3
2323
- name: Install Docker and Prereqs
2424
# This uses a workaround for a known issue with docker. See here: https://github.com/actions/virtual-environments/issues/5490#issuecomment-1118328567
2525
run: |
@@ -32,17 +32,15 @@ jobs:
3232
sudo gpasswd -a $USER docker
3333
pip3 install pylint==2.15.0
3434
- name: Install rustc and clippy nightly
35-
uses: actions-rs/toolchain@v1
35+
uses: dtolnay/rust-toolchain@stable
3636
with:
37-
profile: minimal
38-
toolchain: nightly-2022-07-25 #make sure this matches the version in the rust-toolchain files
39-
override: true
37+
toolchain: nightly-2022-12-16 #make sure this matches the version in the rust-toolchain files
4038
components: cargo, rustc, clippy, rustfmt
4139
target: wasm32-unknown-unknown
4240
- name: Setup rust dependency caching
43-
uses: Swatinem/rust-cache@v1
41+
uses: Swatinem/rust-cache@v2
4442
with:
45-
working-directory: wasm-worker
43+
workspaces: "wasm-worker-> target"
4644
- name: Install golang
4745
uses: actions/setup-go@v3
4846
with:

bin-functions/Cargo.lock

Lines changed: 107 additions & 42 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

bin-functions/rust-toolchain

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
nightly-2022-07-25
1+
nightly-2022-12-16

0 commit comments

Comments
 (0)