mirror of
https://github.com/chatmail/core.git
synced 2026-05-09 01:46:30 +03:00
ci: update swatinem/rust-cache action
This commit is contained in:
8
.github/workflows/ci.yml
vendored
8
.github/workflows/ci.yml
vendored
@@ -25,7 +25,7 @@ jobs:
|
|||||||
override: true
|
override: true
|
||||||
- run: rustup component add rustfmt
|
- run: rustup component add rustfmt
|
||||||
- name: Cache rust cargo artifacts
|
- name: Cache rust cargo artifacts
|
||||||
uses: swatinem/rust-cache@v1
|
uses: swatinem/rust-cache@v2
|
||||||
- run: cargo fmt --all -- --check
|
- run: cargo fmt --all -- --check
|
||||||
|
|
||||||
run_clippy:
|
run_clippy:
|
||||||
@@ -38,7 +38,7 @@ jobs:
|
|||||||
components: clippy
|
components: clippy
|
||||||
override: true
|
override: true
|
||||||
- name: Cache rust cargo artifacts
|
- name: Cache rust cargo artifacts
|
||||||
uses: swatinem/rust-cache@v1
|
uses: swatinem/rust-cache@v2
|
||||||
- uses: actions-rs/clippy-check@v1
|
- uses: actions-rs/clippy-check@v1
|
||||||
with:
|
with:
|
||||||
token: ${{ secrets.GITHUB_TOKEN }}
|
token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
@@ -60,7 +60,7 @@ jobs:
|
|||||||
components: rust-docs
|
components: rust-docs
|
||||||
override: true
|
override: true
|
||||||
- name: Cache rust cargo artifacts
|
- name: Cache rust cargo artifacts
|
||||||
uses: swatinem/rust-cache@v1
|
uses: swatinem/rust-cache@v2
|
||||||
- name: Rustdoc
|
- name: Rustdoc
|
||||||
run: cargo doc --document-private-items --no-deps
|
run: cargo doc --document-private-items --no-deps
|
||||||
|
|
||||||
@@ -96,7 +96,7 @@ jobs:
|
|||||||
override: true
|
override: true
|
||||||
|
|
||||||
- name: Cache rust cargo artifacts
|
- name: Cache rust cargo artifacts
|
||||||
uses: swatinem/rust-cache@v1
|
uses: swatinem/rust-cache@v2
|
||||||
|
|
||||||
- name: check
|
- name: check
|
||||||
run: cargo check --all --bins --examples --tests --features repl --benches
|
run: cargo check --all --bins --examples --tests --features repl --benches
|
||||||
|
|||||||
2
.github/workflows/jsonrpc.yml
vendored
2
.github/workflows/jsonrpc.yml
vendored
@@ -25,7 +25,7 @@ jobs:
|
|||||||
toolchain: stable
|
toolchain: stable
|
||||||
override: true
|
override: true
|
||||||
- name: Add Rust cache
|
- name: Add Rust cache
|
||||||
uses: Swatinem/rust-cache@v1.3.0
|
uses: Swatinem/rust-cache@v2
|
||||||
- name: npm install
|
- name: npm install
|
||||||
run: |
|
run: |
|
||||||
cd deltachat-jsonrpc/typescript
|
cd deltachat-jsonrpc/typescript
|
||||||
|
|||||||
Reference in New Issue
Block a user