summaryrefslogtreecommitdiffstats
path: root/.github/workflows/ci.yaml
diff options
context:
space:
mode:
authorsigoden <sigoden@gmail.com>2023-07-10 11:33:38 +0800
committerGitHub <noreply@github.com>2023-07-10 11:33:38 +0800
commit70e62a4fa7e9a9f92bca511bcb2138bbbd921eb4 (patch)
treec2725a84be076d7952c14479a53c7d51d2a2ec77 /.github/workflows/ci.yaml
parent30daa40eb06cf34575c8eaa27e0edb3df65177e8 (diff)
downloadaichat-70e62a4fa7e9a9f92bca511bcb2138bbbd921eb4.tar.gz
chore: update ci (#136)
Diffstat (limited to '.github/workflows/ci.yaml')
-rw-r--r--.github/workflows/ci.yaml10
1 files changed, 3 insertions, 7 deletions
diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml
index 4fc84b3..b606b7a 100644
--- a/.github/workflows/ci.yaml
+++ b/.github/workflows/ci.yaml
@@ -29,16 +29,12 @@ jobs:
RUSTFLAGS: --deny warnings
steps:
- - uses: actions/checkout@v2
+ - uses: actions/checkout@v3
- name: Install Rust Toolchain Components
- uses: actions-rs/toolchain@v1
- with:
- components: clippy, rustfmt
- override: true
- toolchain: stable
+ uses: dtolnay/rust-toolchain@stable
- - uses: Swatinem/rust-cache@v1
+ - uses: Swatinem/rust-cache@v2
- name: Test
run: cargo test --all