Skip to content

Commit

Permalink
Improve CI step readability
Browse files Browse the repository at this point in the history
Give most steps names
  • Loading branch information
alpha-tango-kilo committed Nov 10, 2023
1 parent 8a3841a commit 0c5f319
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 6 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,10 @@ jobs:
- uses: dtolnay/rust-toolchain@stable
with:
components: clippy
- uses: taiki-e/install-action@cargo-hack
- shell: bash
- name: Install cargo-hack
uses: taiki-e/install-action@cargo-hack
- name: Run Clippy on all backends
shell: bash
run: |
cargo hack \
--each-feature \
Expand Down
12 changes: 8 additions & 4 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,10 @@ jobs:
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- uses: taiki-e/install-action@cargo-hack
- shell: bash
- name: Install cargo-hack
uses: taiki-e/install-action@cargo-hack
- name: Run tests on all backends & test documentation
shell: bash
run: |
cargo hack \
--each-feature \
Expand All @@ -31,8 +33,10 @@ jobs:
steps:
- uses: actions/checkout@v4
- uses: dtolnay/[email protected]
- uses: taiki-e/install-action@cargo-hack
- shell: bash
- name: Install cargo-hack
uses: taiki-e/install-action@cargo-hack
- name: Ensure compilation & passing tests on all backends
shell: bash
run: |
cargo hack \
--each-feature \
Expand Down

0 comments on commit 0c5f319

Please sign in to comment.