Skip to content

Commit

Permalink
refactor(ci): regulate capitalization in CI step names
Browse files Browse the repository at this point in the history
  • Loading branch information
ErichDonGubler committed Feb 17, 2025
1 parent e590555 commit 470d1cf
Showing 1 changed file with 34 additions and 34 deletions.
68 changes: 34 additions & 34 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ jobs:
- name: checkout repo
uses: actions/checkout@v4

- name: Install Toolchain (Repo MSRV - Tier 1 or 2)
- name: install toolchain (repo MSRV - tier 1 or 2)
if: matrix.tier == 1 || matrix.tier == 2
run: |
rustup toolchain install ${{ env.REPO_MSRV }} --no-self-update --profile=minimal --component clippy
Expand All @@ -207,7 +207,7 @@ jobs:
#
# RUSTC_BOOTSTRAP=1 is how the rust project builds itself when bootstrapping the compiler, so while not "stable"
# it has been around for many years and don't anticipate it going away any time soon.
- name: Install Toolchain (Repo MSRV - Tier 3)
- name: install toolchain (repo MSRV - tier 3)
if: matrix.tier == 3
run: |
rustup toolchain install ${{ env.REPO_MSRV }} --no-self-update --profile=minimal --component clippy,rust-src
Expand All @@ -228,7 +228,7 @@ jobs:
with:
key: clippy-${{ matrix.target }}-${{ matrix.kind }}-${{ env.CACHE_SUFFIX }}

- name: (linux aarch64) install aarch64-linux-gnu g++
- name: (Linux `aarch64`) install `aarch64-linux-gnu` `g++`
if: matrix.target == 'aarch64-unknown-linux-gnu'
run: |
set -e
Expand All @@ -237,7 +237,7 @@ jobs:
sudo apt-get install g++-aarch64-linux-gnu
- name: (android) add android apk to path
- name: (Android) add Android APK to `PATH`
if: matrix.target == 'aarch64-linux-android'
run: |
# clang++ will be detected correctly by CC from path
Expand Down Expand Up @@ -357,7 +357,7 @@ jobs:
- name: checkout repo
uses: actions/checkout@v4

- name: Install Core MSRV toolchain
name: install Core MSRV toolchain
run: |
rustup toolchain install ${{ env.CORE_MSRV }} --no-self-update --profile=minimal --component clippy --target ${{ matrix.target }}
rustup override set ${{ env.CORE_MSRV }}
Expand Down Expand Up @@ -397,18 +397,18 @@ jobs:
- name: checkout repo
uses: actions/checkout@v4

- name: Install Core MSRV toolchain
- name: install Core MSRV toolchain
run: |
rustup toolchain install ${{ env.CORE_MSRV }} --no-self-update --profile=minimal --component clippy
rustup override set ${{ env.CORE_MSRV }}
cargo -V
- name: Install Nightly Toolchain
- name: install Nightly toolchain
run: |
rustup toolchain install ${{ env.REPO_MSRV }} --no-self-update --profile=minimal
cargo +${{ env.REPO_MSRV }} -V
- name: Install cargo-hack
- name: install cargo-hack
uses: taiki-e/install-action@v2
with:
tool: cargo-hack
Expand All @@ -421,7 +421,7 @@ jobs:
[profile.dev]
debug = false" >> .cargo/config.toml
- name: Set Minimal Versions
- name: set minimal versions
shell: bash
run: |
set -e
Expand All @@ -430,7 +430,7 @@ jobs:
env:
RUSTC_BOOTSTRAP: 1

- name: Clippy
- name: run Clippy
shell: bash
run: |
set -e
Expand All @@ -448,13 +448,13 @@ jobs:
- name: checkout repo
uses: actions/checkout@v4

- name: Install Repo MSRV toolchain
- name: install repo MSRV toolchain
run: |
rustup toolchain install ${{ env.REPO_MSRV }} --no-self-update --profile=minimal --component clippy --target wasm32-unknown-unknown
rustup override set ${{ env.REPO_MSRV }}
cargo -V
- name: Install wasm-pack
- name: install wasm-pack
uses: taiki-e/install-action@v2
with:
tool: wasm-pack
Expand Down Expand Up @@ -491,12 +491,12 @@ jobs:
- name: checkout repo
uses: actions/checkout@v4

- name: Install Repo MSRV toolchain
- name: install repo MSRV toolchain
run: |
rustup toolchain install ${{ env.REPO_MSRV }} --no-self-update --profile=minimal -c llvm-tools
cargo -V
- name: Install cargo-nextest and cargo-llvm-cov
- name: install `cargo-nextest` and `cargo-llvm-cov`
uses: taiki-e/install-action@v2
with:
tool: cargo-nextest,cargo-llvm-cov
Expand All @@ -521,7 +521,7 @@ jobs:
. -> target
xtask -> xtask/target
- name: (windows) install dxc
- name: (Windows) install DXC
if: matrix.os == 'windows-2022'
shell: bash
run: |
Expand All @@ -533,7 +533,7 @@ jobs:
# We need to use cygpath to convert PWD to a windows path as we're using bash.
cygpath --windows "$PWD/dxc" >> "$GITHUB_PATH"
- name: (windows) install warp
- name: (Windows) install WARP
if: matrix.os == 'windows-2022'
shell: bash
run: |
Expand All @@ -550,7 +550,7 @@ jobs:
cp -v warp/d3d10warp.dll target/llvm-cov-target/debug/
cp -v warp/d3d10warp.dll target/llvm-cov-target/debug/deps
- name: (windows) install mesa
- name: (Windows) install Mesa
if: matrix.os == 'windows-2022'
shell: bash
run: |
Expand All @@ -566,7 +566,7 @@ jobs:
echo "VK_DRIVER_FILES=`cygpath --windows $PWD/mesa/lvp_icd.x86_64.json`" >> "$GITHUB_ENV"
echo "GALLIUM_DRIVER=llvmpipe" >> "$GITHUB_ENV"
- name: (windows) install vulkan sdk
- name: (Windows) install Vulkan SDK
if: matrix.os == 'windows-2022'
shell: bash
run: |
Expand All @@ -578,7 +578,7 @@ jobs:
echo "C:/VulkanSDK/${{ env.VULKAN_FULL_SDK_VERSION }}/Bin" >> "$GITHUB_PATH"
- name: (mac) install vulkan sdk
- name: (Mac) install Vulkan SDK
if: matrix.os == 'macos-14'
shell: bash
run: |
Expand All @@ -592,7 +592,7 @@ jobs:
echo "$HOME/VulkanSDK/macOS/bin" >> "$GITHUB_PATH"
- name: (linux) install vulkan sdk
- name: (Linux) install Vulkan SDK
if: matrix.os == 'ubuntu-24.04'
shell: bash
run: |
Expand All @@ -607,7 +607,7 @@ jobs:
sudo apt-get update
sudo apt install -y vulkan-sdk
- name: (linux) install mesa
- name: (Linux) install Mesa
if: matrix.os == 'ubuntu-24.04'
shell: bash
run: |
Expand All @@ -634,7 +634,7 @@ jobs:
echo "LD_LIBRARY_PATH=$PWD/mesa/lib/x86_64-linux-gnu/:$LD_LIBRARY_PATH" >> "$GITHUB_ENV"
echo "LIBGL_DRIVERS_PATH=$PWD/mesa/lib/x86_64-linux-gnu/dri" >> "$GITHUB_ENV"
- name: run wgpu-info
- name: run `wgpu-info`
shell: bash
run: |
echo "$PATH"
Expand All @@ -651,7 +651,7 @@ jobs:
cargo xtask test --llvm-cov
- name: check naga snapshots
- name: check Naga snapshots
# git diff doesn't check untracked files, we need to stage those then compare with HEAD.
run: git add . && git diff --exit-code HEAD naga/tests/out

Expand All @@ -672,7 +672,7 @@ jobs:
cargo llvm-cov report --lcov --output-path lcov.info
- name: upload coverage report to codecov
- name: upload coverage report to Codecov
uses: codecov/codecov-action@v4
if: steps.coverage.outcome == 'success'
with:
Expand All @@ -690,7 +690,7 @@ jobs:
- name: checkout repo
uses: actions/checkout@v4

- name: Install Repo MSRV toolchain
- name: install repo MSRV toolchain
run: |
rustup toolchain install ${{ env.REPO_MSRV }} --no-self-update --profile=minimal --component rustfmt
rustup override set ${{ env.REPO_MSRV }}
Expand Down Expand Up @@ -718,27 +718,27 @@ jobs:
- name: checkout repo
uses: actions/checkout@v4

- name: Install Repo MSRV toolchain
- name: install repo MSRV toolchain
run: |
rustup toolchain install ${{ env.REPO_MSRV }} --no-self-update --profile=minimal --component rustfmt
rustup override set ${{ env.REPO_MSRV }}
cargo -V
- name: Run `cargo fmt`
- name: run `cargo fmt`
run: |
cargo fmt -- --check
cargo fmt --manifest-path xtask/Cargo.toml -- --check
cargo fmt --manifest-path naga/xtask/Cargo.toml -- --check
- name: Install Taplo
- name: install Taplo
uses: uncenter/setup-taplo@v1
with:
version: "0.9.3"

- name: run `taplo fmt`
run: taplo format --check --diff

- name: Check for typos
- name: check for typos
uses: crate-ci/typos@v1.29.7

check-cts-runner:
Expand All @@ -751,7 +751,7 @@ jobs:
- name: checkout repo
uses: actions/checkout@v4

- name: Install MSRV toolchain
- name: install MSRV toolchain
run: |
rustup toolchain install ${{ env.REPO_MSRV }} --no-self-update --profile=minimal --component clippy
rustup override set ${{ env.REPO_MSRV }}
Expand Down Expand Up @@ -789,7 +789,7 @@ jobs:
- name: checkout repo
uses: actions/checkout@v4

- name: Run `cargo deny check`
- name: run `cargo deny check`
uses: EmbarkStudios/cargo-deny-action@v2
with:
command: check advisories
Expand All @@ -806,7 +806,7 @@ jobs:
- name: checkout repo
uses: actions/checkout@v4

- name: Run `cargo deny check`
- name: run `cargo deny check`
uses: EmbarkStudios/cargo-deny-action@v2
with:
command: check bans licenses sources
Expand All @@ -823,11 +823,11 @@ jobs:
- name: checkout repo
uses: actions/checkout@v4

- name: Install Repo MSRV toolchain
- name: install repo MSRV toolchain
run: |
rustup toolchain install ${{ env.REPO_MSRV }} --no-self-update --profile=minimal
rustup override set ${{ env.REPO_MSRV }}
cargo -V
- name: Run `cargo feature-dependencies`
- name: run `cargo feature-dependencies`
run: cargo xtask check-feature-dependencies

0 comments on commit 470d1cf

Please sign in to comment.