Skip to content

Commit 30512f6

Browse files
authored
Clean up workflow names (steps / jobs) (#1149)
1 parent d4152bb commit 30512f6

File tree

3 files changed

+28
-29
lines changed

3 files changed

+28
-29
lines changed

.github/workflows/cli.yml

+6-6
Original file line numberDiff line numberDiff line change
@@ -21,19 +21,19 @@ jobs:
2121
matrix:
2222
os:
2323
[ubuntu-latest-16-cores, macos-latest-xlarge, windows-latest-16-cores]
24-
name: 🚦 Test
24+
name: ${{ matrix.os }}
2525
runs-on: ${{ matrix.os }}
2626

2727
steps:
28-
- name: 🛑 Cancel Previous Runs
28+
- name: Cancel Previous Runs
2929
uses: styfle/cancel-workflow-action@0.12.1
3030

3131
- run: git config --global core.autocrlf false
3232

33-
- name: ⬇️ Checkout qlty
33+
- name: Checkout qlty
3434
uses: actions/checkout@v4
3535

36-
- name: 🦀 Install Rust toolchain
36+
- name: Install Rust toolchain
3737
uses: actions-rs/toolchain@v1
3838
with:
3939
toolchain: stable
@@ -45,10 +45,10 @@ jobs:
4545
uses: shivammathur/setup-php@v2
4646
if: matrix.os == 'macos-latest-xlarge'
4747

48-
- name: 🫙 Cache Rust
48+
- name: Cache Rust
4949
uses: Swatinem/rust-cache@v2
5050

51-
- name: 🚦 Run Test
51+
- name: Run Test
5252
run: cargo llvm-cov --lcov --output-path target/lcov.info -- --include-ignored
5353

5454
- uses: qltysh/qlty-action/coverage@main

.github/workflows/cli_integration.yml

+10-10
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Integration Tests
1+
name: Integration Tests (Ruby)
22
on:
33
workflow_dispatch:
44
push:
@@ -24,31 +24,31 @@ env:
2424

2525
jobs:
2626
build:
27-
name: 🏗️ Build Release CLI
27+
name: Build Release CLI
2828
runs-on: ubuntu-latest
2929
steps:
30-
- name: ⬇️ Checkout cloud
30+
- name: Checkout cloud
3131
uses: actions/checkout@v4
3232

33-
- name: 🦀 Install Rust toolchain
33+
- name: Install Rust toolchain
3434
uses: actions-rs/toolchain@v1
3535
with:
3636
toolchain: stable
3737

38-
- name: 🫙 Cache Rust
38+
- name: Cache Rust
3939
uses: Swatinem/rust-cache@v2
4040

41-
- name: 🏗️ Build Release CLI
41+
- name: Build Release CLI
4242
run: cargo build --release
4343

44-
- name: 📦 Archive CLI
44+
- name: Archive CLI
4545
uses: actions/upload-artifact@v4
4646
with:
4747
name: qlty
4848
path: target/release/qlty
4949

5050
test_ruby_binary_install:
51-
name: "🧪 Test: Ruby Binary Install"
51+
name: ${{ matrix.container }}
5252
runs-on: ubuntu-latest
5353
needs: build
5454
strategy:
@@ -97,13 +97,13 @@ jobs:
9797
git add .
9898
git commit -m "Initial commit"
9999
100-
- name: 📦 Download CLI
100+
- name: Download CLI
101101
uses: actions/download-artifact@v4
102102
with:
103103
name: qlty
104104
path: ${{ github.workspace }}/bin
105105

106-
- name: "🚦 Run Test"
106+
- name: Run Test
107107
run: |
108108
export PATH=$GITHUB_WORKSPACE/bin:$PATH
109109
chmod +x $GITHUB_WORKSPACE/bin/qlty

.github/workflows/plugins.yml

+12-13
Original file line numberDiff line numberDiff line change
@@ -22,62 +22,61 @@ jobs:
2222
matrix:
2323
os:
2424
[macos-latest-xlarge, ubuntu-latest-16-cores, windows-latest-16-cores]
25-
name: Plugins test on ${{ matrix.os }}
25+
name: ${{ matrix.os }}
2626
runs-on: ${{ matrix.os }}
2727
defaults:
2828
run:
2929
shell: bash
3030

3131
steps:
32-
- name: 🛑 Cancel Previous Runs
32+
- name: Cancel Previous Runs
3333
uses: styfle/cancel-workflow-action@0.12.1
3434

35-
- name: ⬇️ Checkout repo
35+
- name: Checkout repo
3636
uses: actions/checkout@v4
3737

38-
- name: 📦 Use Node.js
38+
- name: Use Node.js
3939
uses: actions/setup-node@v4
4040
with:
4141
cache: "npm"
4242
cache-dependency-path: plugins/package-lock.json
4343

44-
# Generate Cache key for Linux/macOS
45-
- name: 🔒 Set CACHE_MONTH on Linux/macOS
44+
- name: Generate cache key
4645
run: echo "CACHE_MONTH=$(date +'%Y-%m')" >> $GITHUB_ENV
4746

48-
- name: 💾 Cache qlty tools
47+
- name: Cache qlty tools
4948
uses: actions/cache@v3
5049
with:
5150
path: ~/.qlty
5251
key: ${{ runner.os }}-qlty-${{ env.CACHE_MONTH }}
5352

54-
- name: 📦 Setup PHP with PECL extension
53+
- name: Setup PHP with PECL extension
5554
uses: shivammathur/setup-php@v2
5655
if: matrix.os == 'macos-latest-xlarge'
5756

58-
- name: 📦 Setup Ruby
57+
- name: Setup Ruby
5958
uses: ruby/setup-ruby@v1
6059
with:
6160
ruby-version: 3.3.0
6261
if: matrix.os == 'windows-latest-16-cores'
6362

64-
- name: 🦀 Install Rust toolchain
63+
- name: Install Rust toolchain
6564
uses: actions-rs/toolchain@v1
6665
with:
6766
toolchain: stable
6867

69-
- name: 🫙 Cache Rust
68+
- name: Cache Rust
7069
uses: Swatinem/rust-cache@v2
7170

72-
- name: ⚙️ cargo build
71+
- name: cargo build
7372
run: cargo build
7473
env:
7574
RUST_BACKTRACE: 1
7675

7776
- name: Move qlty into PATH
7877
run: echo "${{ github.workspace }}/target/debug" >> $GITHUB_PATH
7978

80-
- name: 🔍 Check qlty version
79+
- name: Check qlty version
8180
run: qlty --version
8281

8382
# Login to the GitHub Container Registry to reduce trivy rate limiting errors

0 commit comments

Comments
 (0)