about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2024-05-03 20:57:06 +0000
committerbors <bors@rust-lang.org>2024-05-03 20:57:06 +0000
commit74701dcef27cf587eb2cf3522b86edefc5340223 (patch)
tree00c02618460bf2a9128b47856a981466663b15c4 /src
parent692b769d6115ffdc52a83e05dbc3246bb78f04f3 (diff)
parentaa71f9b03361155602115716a109e46c31342046 (diff)
downloadrust-74701dcef27cf587eb2cf3522b86edefc5340223.tar.gz
rust-74701dcef27cf587eb2cf3522b86edefc5340223.zip
Auto merge of #3547 - RalfJung:ci, r=RalfJung
CI: no need to surround if: condition in expansion braces

That seems to be implicit for `if:` (but interestingly, redundant braces are tolerated).
Diffstat (limited to 'src')
-rw-r--r--src/tools/miri/.github/workflows/ci.yml6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/tools/miri/.github/workflows/ci.yml b/src/tools/miri/.github/workflows/ci.yml
index 3d7ec210dac..3bc4163ab52 100644
--- a/src/tools/miri/.github/workflows/ci.yml
+++ b/src/tools/miri/.github/workflows/ci.yml
@@ -61,7 +61,7 @@ jobs:
           restore-keys: cargo-${{ runner.os }}-reset20240425
 
       - name: Install tools
-        if: ${{ steps.cache.outputs.cache-hit != 'true' }}
+        if: steps.cache.outputs.cache-hit != 'true'
         run: cargo install -f rustup-toolchain-install-master hyperfine
 
       - name: Install miri toolchain
@@ -81,7 +81,7 @@ jobs:
       # The `style` job only runs on Linux; this makes sure the Windows-host-specific
       # code is also covered by clippy.
       - name: Check clippy
-        if: ${{ matrix.os == 'windows-latest' }}
+        if: matrix.os == 'windows-latest'
         run: ./miri clippy -- -D warnings
 
       - name: Test Miri
@@ -117,7 +117,7 @@ jobs:
           restore-keys: cargo-${{ runner.os }}-reset20240331
 
       - name: Install rustup-toolchain-install-master
-        if: ${{ steps.cache.outputs.cache-hit != 'true' }}
+        if: steps.cache.outputs.cache-hit != 'true'
         run: cargo install -f rustup-toolchain-install-master
 
       - name: Install "master" toolchain