Skip to content

Commit

Permalink
Fix yaml identation in yaml files (rust-lang#1644)
Browse files Browse the repository at this point in the history
* fix yaml identation for release workflow

* Format all yaml files (with single quotes to align with release.yml)
  • Loading branch information
giltho authored Sep 7, 2022
1 parent cad5769 commit 61c3da7
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 21 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/format-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ jobs:

- name: Check Python code formatting
run: |
pip3 install --upgrade autopep8
./scripts/run-autopep8.sh
pip3 install --upgrade autopep8
./scripts/run-autopep8.sh
clippy-check:
runs-on: ubuntu-20.04
Expand All @@ -30,17 +30,17 @@ jobs:
- name: Setup Kani Dependencies
uses: ./.github/actions/setup
with:
os: ubuntu-20.04
os: ubuntu-20.04

- name: "Install jq for parsing."
- name: 'Install jq for parsing.'
run: |
sudo apt-get install -y jq
- name: "Run Clippy"
- name: 'Run Clippy'
run: |
cargo clippy --all -- -D warnings
- name: "Print Clippy Statistics"
- name: 'Print Clippy Statistics'
run: |
rm .cargo/config.toml
(cargo clippy --all --message-format=json 2>/dev/null | \
Expand Down
18 changes: 9 additions & 9 deletions .github/workflows/kani.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
- name: Setup Kani Dependencies
uses: ./.github/actions/setup
with:
os: ${{ matrix.os }}
os: ${{ matrix.os }}

- name: Build Kani
run: cargo build
Expand All @@ -35,7 +35,7 @@ jobs:

experimental-features-regression:
runs-on: ubuntu-20.04
env:
env:
KANI_ENABLE_UNSOUND_EXPERIMENTS: 1
steps:
- name: Checkout Kani
Expand All @@ -44,7 +44,7 @@ jobs:
- name: Setup Kani Dependencies
uses: ./.github/actions/setup
with:
os: ubuntu-20.04
os: ubuntu-20.04

- name: Build Kani
run: cargo build
Expand All @@ -61,7 +61,7 @@ jobs:
- name: Setup Kani Dependencies
uses: ./.github/actions/setup
with:
os: ubuntu-20.04
os: ubuntu-20.04

- name: Build Kani
run: cargo build
Expand All @@ -80,7 +80,7 @@ jobs:
- name: Setup Kani Dependencies
uses: ./.github/actions/setup
with:
os: ubuntu-20.04
os: ubuntu-20.04

- name: Build Kani
run: cargo build
Expand All @@ -91,7 +91,7 @@ jobs:
- name: Generate book runner report
run: cargo run -p bookrunner
env:
DOC_RUST_LANG_ORG_CHANNEL: nightly
DOC_RUST_LANG_ORG_CHANNEL: nightly

- name: Print book runner text results
run: cat build/output/latest/html/bookrunner.txt
Expand Down Expand Up @@ -129,13 +129,13 @@ jobs:
- name: Setup Kani Dependencies
uses: ./.github/actions/setup
with:
os: ${{ matrix.os }}
os: ${{ matrix.os }}

- name: Build release bundle
run: |
cargo run -p make-kani-release -- latest
cargo package -p kani-verifier
- name: Build container test
if: ${{ matrix.os == 'ubuntu-18.04' }}
run: |
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ jobs:
- name: Setup Kani Dependencies
uses: ./.github/actions/setup
with:
os: ${{ matrix.os }}
os: ${{ matrix.os }}

- name: Build release bundle
run: |
Expand Down Expand Up @@ -145,7 +145,7 @@ jobs:
org.opencontainers.image.licenses=Apache-2.0 OR MIT
- name: Check action and image is updated.
uses: ${{ env.OWNER_LC }}/kani@${{ needs.Release.outputs.version }}
with:
command: |
[[ "$(cargo kani --version)" == 'cargo-kani ${{ needs.Release.outputs.version }}' ]]
uses: ${{ env.OWNER_LC }}/kani@${{ needs.Release.outputs.version }}
with:
command: |
[[ "$(cargo kani --version)" == 'cargo-kani ${{ needs.Release.outputs.version }}' ]]
1 change: 0 additions & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,3 @@ runs:
- bash
- '-c'
- 'set -e; export HOME=/root USER=$(id -nu); source $HOME/.bashrc; ${{ inputs.command }}'

0 comments on commit 61c3da7

Please sign in to comment.