Skip to content

Commit b2424ce

Browse files
cdxkerskeptrunedev
authored andcommitted
ci: peg ci actions to rust version 1.81 (same as the Dockerfile)
1 parent 40707fc commit b2424ce

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

.github/workflows/rust-tests.yml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,9 @@ jobs:
1414
runs-on: blacksmith-2vcpu-ubuntu-2204
1515
steps:
1616
- uses: actions/checkout@v4
17-
- run: rustup update stable
17+
- run: rustup update 1.81
18+
- run: rustup default 1.81
19+
- run: rustup component add rustfmt
1820
- name: Cargo fmt
1921
run: cargo fmt --manifest-path=./server/Cargo.toml -- --check
2022

@@ -30,8 +32,9 @@ jobs:
3032
~/.cargo/git
3133
target
3234
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
35+
- run: rustup update 1.81
36+
- run: rustup default 1.81
3337
- run: rustup component add clippy
34-
- run: rustup update stable
3538
- uses: clechasseur/rs-clippy-check@v3
3639
with:
3740
args: --features runtime-env --manifest-path server/Cargo.toml -- -D clippy::print_stdout -D warnings
@@ -56,7 +59,8 @@ jobs:
5659
~/.cargo/git
5760
target
5861
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
59-
- run: rustup update stable
62+
- run: rustup update 1.81
63+
- run: rustup default 1.81
6064
- name: Installing Vaccum
6165
run: npm install -g @quobix/vacuum
6266
- name: Generating OpenAPI spec

0 commit comments

Comments
 (0)