From bcd69ae7e1acb3c7fee961ea3ab52d091d032c4c Mon Sep 17 00:00:00 2001 From: daxpedda Date: Fri, 10 Dec 2021 11:23:55 +0100 Subject: [PATCH] Fix and improve some CI configuration naming --- .github/workflows/audit.yml | 6 +++--- .github/workflows/format.yml | 8 ++++---- .github/workflows/lint.yml | 4 ++-- .github/workflows/publish.yml | 2 +- .github/workflows/spellcheck.yml | 4 ++-- .github/workflows/validate.yml | 2 +- 6 files changed, 13 insertions(+), 13 deletions(-) diff --git a/.github/workflows/audit.yml b/.github/workflows/audit.yml index 697e0b43..bb90f690 100644 --- a/.github/workflows/audit.yml +++ b/.github/workflows/audit.yml @@ -3,13 +3,13 @@ name: Audit on: [push, pull_request] jobs: - rustfmt: + audit: name: Audit runs-on: ubuntu-latest steps: - - name: Cache + - name: Cache cargo-audit uses: actions/cache@v2 with: path: | @@ -21,5 +21,5 @@ jobs: run: cargo install cargo-audit - name: Checkout uses: actions/checkout@v2 - - name: Audit + - name: Run Audit run: cargo audit -D warnings diff --git a/.github/workflows/format.yml b/.github/workflows/format.yml index a047e2c1..649a5b9d 100644 --- a/.github/workflows/format.yml +++ b/.github/workflows/format.yml @@ -4,7 +4,7 @@ on: [push, pull_request] jobs: rustfmt: - name: rustfmt + name: Rustfmt runs-on: ubuntu-latest @@ -15,7 +15,7 @@ jobs: rustup default nightly - name: Checkout uses: actions/checkout@v2 - - name: rustfmt + - name: Run Rustfmt run: cargo fmt --check @@ -25,7 +25,7 @@ jobs: runs-on: ubuntu-latest steps: - - name: Cache + - name: Cache Taplo uses: actions/cache@v2 with: path: | @@ -37,5 +37,5 @@ jobs: run: cargo install taplo-cli - name: Checkout uses: actions/checkout@v2 - - name: Taplo + - name: Run Taplo run: taplo fmt --check diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 23006401..f86cf94a 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -28,10 +28,10 @@ jobs: rustup default ${{ matrix.matrix.channel }} - name: Checkout uses: actions/checkout@v2 - - name: Clippy + - name: Run Clippy run: cargo clippy --all-targets --workspace ${{ matrix.matrix.features }} -- -D warnings - - name: Rustdoc + - name: Run Rustdoc env: RUSTDOCFLAGS: -D warnings run: diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index e2f06fd2..61363e05 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -11,6 +11,6 @@ jobs: steps: - name: Checkout uses: actions/checkout@v2 - - name: Publish + - name: Test Publish run: cargo publish --dry-run diff --git a/.github/workflows/spellcheck.yml b/.github/workflows/spellcheck.yml index ec6bfb6b..451f9f39 100644 --- a/.github/workflows/spellcheck.yml +++ b/.github/workflows/spellcheck.yml @@ -9,7 +9,7 @@ jobs: runs-on: ubuntu-latest steps: - - name: Cache + - name: Cache cargo-spellcheck uses: actions/cache@v2 with: path: | @@ -21,5 +21,5 @@ jobs: run: cargo install cargo-spellcheck --locked - name: Checkout uses: actions/checkout@v2 - - name: Spellcheck + - name: Run Spellcheck run: cargo spellcheck check -m 1 2>/dev/null diff --git a/.github/workflows/validate.yml b/.github/workflows/validate.yml index b729d4fb..5b555795 100644 --- a/.github/workflows/validate.yml +++ b/.github/workflows/validate.yml @@ -50,7 +50,7 @@ jobs: run: | rustup toolchain install nightly --profile minimal --component miri,rust-src --allow-downgrade rustup default nightly - - name: Cache + - name: Cache xargo uses: actions/cache@v2 with: path: |