Skip to content

Commit b6bff05

Browse files
committed
Update actions file
1 parent aaf5608 commit b6bff05

File tree

1 file changed

+8
-22
lines changed

1 file changed

+8
-22
lines changed

.github/workflows/rust.yml

Lines changed: 8 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -13,32 +13,18 @@ jobs:
1313
- nightly
1414

1515
steps:
16-
- uses: actions/checkout@v2
16+
- uses: actions/checkout@v5
1717

18-
- uses: actions-rs/toolchain@v1
18+
- uses: actions-rust-lang/setup-rust-toolchain@v1
1919
with:
20-
profile: minimal
2120
toolchain: ${{ matrix.rust }}
22-
override: true
2321
components: rustfmt, clippy
2422

25-
- uses: supercharge/redis-github-action@1.1.0
23+
- uses: supercharge/redis-github-action@1.8.0
2624
with:
27-
redis-version: 6
25+
redis-version: 7
2826

29-
- uses: actions-rs/cargo@v1
30-
with:
31-
command: build
32-
33-
- uses: actions-rs/cargo@v1
34-
with:
35-
command: test
36-
37-
- uses: actions-rs/cargo@v1
38-
with:
39-
command: fmt
40-
args: --all -- --check
41-
42-
- uses: actions-rs/cargo@v1
43-
with:
44-
command: clippy
27+
- run: cargo build
28+
- run: cargo test
29+
- run: cargo clippy -- -D warnings
30+
- run: cargo fmt --all -- --check

0 commit comments

Comments
 (0)