Skip to content

Commit

Permalink
ci: name steps
Browse files Browse the repository at this point in the history
  • Loading branch information
robjtede committed Jan 22, 2024
1 parent 234dc56 commit 812b047
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
fail-fast: false
matrix:
toolchain:
- { name: msrv, version: '1.68' }
- { name: msrv, version: "1.68" }
- { name: stable, version: stable }

name: Test / ${{ matrix.toolchain.name }}
Expand Down
24 changes: 16 additions & 8 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
with:
tool: cargo-hack

- name: Clippy
- name: Check with Clippy
run: |
cargo clippy --workspace --no-default-features
cargo clippy --workspace --no-default-features --all-features
Expand All @@ -42,21 +42,25 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- name: Install Rust (nightly)
uses: actions-rust-lang/[email protected]
with:
toolchain: nightly
components: rustfmt

- run: cargo fmt -- --check
- name: Check with Rustfmt
run: cargo fmt -- --check

docs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install Rust
uses: actions-rust-lang/[email protected]

- name: Install Rust (nightly)
uses: actions-rust-lang/[email protected]
with:
toolchain: nightly
components: rust-docs

- name: Check for broken intra-doc links
Expand All @@ -67,17 +71,21 @@ jobs:
public-api-diff:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Checkout main branch
uses: actions/checkout@v4
with:
ref: ${{ github.base_ref }}

- uses: actions/checkout@v4
- name: Checkout PR branch
uses: actions/checkout@v4

- uses: actions-rust-lang/[email protected]
- name: Install Rust
uses: actions-rust-lang/[email protected]
with:
toolchain: nightly-2023-08-25

- uses: taiki-e/[email protected]
- name: Install cargo-public-api
uses: taiki-e/[email protected]
with:
tool: cargo-public-api

Expand Down

0 comments on commit 812b047

Please sign in to comment.