Skip to content

Commit 61c3da7

Browse files
authored
Fix yaml identation in yaml files (rust-lang#1644)
* fix yaml identation for release workflow * Format all yaml files (with single quotes to align with release.yml)
1 parent cad5769 commit 61c3da7

File tree

4 files changed

+20
-21
lines changed

4 files changed

+20
-21
lines changed

.github/workflows/format-check.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ jobs:
1818

1919
- name: Check Python code formatting
2020
run: |
21-
pip3 install --upgrade autopep8
22-
./scripts/run-autopep8.sh
21+
pip3 install --upgrade autopep8
22+
./scripts/run-autopep8.sh
2323
2424
clippy-check:
2525
runs-on: ubuntu-20.04
@@ -30,17 +30,17 @@ jobs:
3030
- name: Setup Kani Dependencies
3131
uses: ./.github/actions/setup
3232
with:
33-
os: ubuntu-20.04
33+
os: ubuntu-20.04
3434

35-
- name: "Install jq for parsing."
35+
- name: 'Install jq for parsing.'
3636
run: |
3737
sudo apt-get install -y jq
3838
39-
- name: "Run Clippy"
39+
- name: 'Run Clippy'
4040
run: |
4141
cargo clippy --all -- -D warnings
4242
43-
- name: "Print Clippy Statistics"
43+
- name: 'Print Clippy Statistics'
4444
run: |
4545
rm .cargo/config.toml
4646
(cargo clippy --all --message-format=json 2>/dev/null | \

.github/workflows/kani.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
- name: Setup Kani Dependencies
2626
uses: ./.github/actions/setup
2727
with:
28-
os: ${{ matrix.os }}
28+
os: ${{ matrix.os }}
2929

3030
- name: Build Kani
3131
run: cargo build
@@ -35,7 +35,7 @@ jobs:
3535

3636
experimental-features-regression:
3737
runs-on: ubuntu-20.04
38-
env:
38+
env:
3939
KANI_ENABLE_UNSOUND_EXPERIMENTS: 1
4040
steps:
4141
- name: Checkout Kani
@@ -44,7 +44,7 @@ jobs:
4444
- name: Setup Kani Dependencies
4545
uses: ./.github/actions/setup
4646
with:
47-
os: ubuntu-20.04
47+
os: ubuntu-20.04
4848

4949
- name: Build Kani
5050
run: cargo build
@@ -61,7 +61,7 @@ jobs:
6161
- name: Setup Kani Dependencies
6262
uses: ./.github/actions/setup
6363
with:
64-
os: ubuntu-20.04
64+
os: ubuntu-20.04
6565

6666
- name: Build Kani
6767
run: cargo build
@@ -80,7 +80,7 @@ jobs:
8080
- name: Setup Kani Dependencies
8181
uses: ./.github/actions/setup
8282
with:
83-
os: ubuntu-20.04
83+
os: ubuntu-20.04
8484

8585
- name: Build Kani
8686
run: cargo build
@@ -91,7 +91,7 @@ jobs:
9191
- name: Generate book runner report
9292
run: cargo run -p bookrunner
9393
env:
94-
DOC_RUST_LANG_ORG_CHANNEL: nightly
94+
DOC_RUST_LANG_ORG_CHANNEL: nightly
9595

9696
- name: Print book runner text results
9797
run: cat build/output/latest/html/bookrunner.txt
@@ -129,13 +129,13 @@ jobs:
129129
- name: Setup Kani Dependencies
130130
uses: ./.github/actions/setup
131131
with:
132-
os: ${{ matrix.os }}
133-
132+
os: ${{ matrix.os }}
133+
134134
- name: Build release bundle
135135
run: |
136136
cargo run -p make-kani-release -- latest
137137
cargo package -p kani-verifier
138-
138+
139139
- name: Build container test
140140
if: ${{ matrix.os == 'ubuntu-18.04' }}
141141
run: |

.github/workflows/release.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ jobs:
7676
- name: Setup Kani Dependencies
7777
uses: ./.github/actions/setup
7878
with:
79-
os: ${{ matrix.os }}
79+
os: ${{ matrix.os }}
8080

8181
- name: Build release bundle
8282
run: |
@@ -145,7 +145,7 @@ jobs:
145145
org.opencontainers.image.licenses=Apache-2.0 OR MIT
146146
147147
- name: Check action and image is updated.
148-
uses: ${{ env.OWNER_LC }}/kani@${{ needs.Release.outputs.version }}
149-
with:
150-
command: |
151-
[[ "$(cargo kani --version)" == 'cargo-kani ${{ needs.Release.outputs.version }}' ]]
148+
uses: ${{ env.OWNER_LC }}/kani@${{ needs.Release.outputs.version }}
149+
with:
150+
command: |
151+
[[ "$(cargo kani --version)" == 'cargo-kani ${{ needs.Release.outputs.version }}' ]]

action.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,4 +22,3 @@ runs:
2222
- bash
2323
- '-c'
2424
- 'set -e; export HOME=/root USER=$(id -nu); source $HOME/.bashrc; ${{ inputs.command }}'
25-

0 commit comments

Comments
 (0)