Skip to content

Commit adf0b3b

Browse files
committed
GHA worflow fix
1 parent 760e1d9 commit adf0b3b

File tree

2 files changed

+11
-4
lines changed

2 files changed

+11
-4
lines changed

.github/workflows/rust-tests.yml

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,10 +40,17 @@ jobs:
4040
- name: Show YDB server version
4141
run: docker ps; docker exec ydb /ydbd -V
4242

43-
- name: Install rust
43+
- name: Install stable rust
4444
uses: dtolnay/rust-toolchain@v1
4545
with:
46-
toolchain: ${{ env[matrix.rust_version] }}, nightly
46+
toolchain: ${{ env[matrix.rust_version] }}
47+
components: clippy, rustfmt
48+
49+
- name: Install nightly rust
50+
if: matrix.rust_version == 'RUST_VERSION_NEW'
51+
uses: dtolnay/rust-toolchain@v1
52+
with:
53+
toolchain: nightly
4754
components: clippy, rustfmt
4855

4956
- name: Cargo install
@@ -61,7 +68,7 @@ jobs:
6168
rustc --version
6269
cargo --version
6370
echo "CARGO_INCREMENTAL=$CARGO_INCREMENTAL"
64-
echo "::set-output name=version::$(rustc --version | cut -d ' ' -f 2)"
71+
echo "name=version::$(rustc --version | cut -d ' ' -f 2)" >> $GITHUB_OUTPUT
6572
6673
- name: Rust cache
6774
uses: Swatinem/rust-cache@v2

.github/workflows/slo.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ jobs:
3333
ydb-slo-action-init:
3434
# // https://github.com/ydb-platform/ydb-rs-sdk/issues/227
3535
if: ${{ false }}
36-
if: (!contains(github.event.pull_request.labels.*.name, 'no slo'))
36+
# if: (!contains(github.event.pull_request.labels.*.name, 'no slo'))
3737

3838
name: Run YDB SLO Tests
3939
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)