Skip to content

Commit

Permalink
fix: Run typos in working directory
Browse files Browse the repository at this point in the history
This fixes issues with typos, see: crate-ci/typos#593
  • Loading branch information
Felix Dommes committed Jan 8, 2024
1 parent 91e9d55 commit 6d45076
Showing 1 changed file with 10 additions and 5 deletions.
15 changes: 10 additions & 5 deletions .github/workflows/rust-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,30 +41,35 @@ jobs:
workspaces: "head -> target"

- name: Rustfmt
shell: bash
working-directory: head
run: cargo +${NIGHTLY_VERSION} fmt -- --check

- name: Clippy
working-directory: head
shell: bash
run: cargo lints clippy --workspace --all-targets -- -D warnings

- name: Test & Coverage
timeout-minutes: 20
shell: bash
working-directory: head
run: cargo llvm-cov nextest --workspace --lcov --output-path $GITHUB_WORKSPACE/new-cov.lcov

- name: Doc-test
shell: bash
working-directory: head
run: cargo +${NIGHTLY_VERSION} test --doc --workspace --verbose

- name: Udeps
shell: bash
working-directory: head
run: cargo +${NIGHTLY_VERSION} udeps

- name: Typos
uses: crate-ci/typos@ef5fcf92dfbd679f97c0371159e143852f7b1eb1
with:
files: ./head
shell: bash
working-directory: head
run: typos

- name: Load base coverage results from cache
if: github.event_name == 'pull_request'
Expand All @@ -84,9 +89,9 @@ jobs:

- name: Generate base coverage
if: github.event_name == 'pull_request' && steps.cache-coverage.outputs.cache-hit != 'true'
shell: bash
working-directory: base
run:
cargo llvm-cov nextest --workspace --lcov --output-path $GITHUB_WORKSPACE/old-cov.lcov
run: cargo llvm-cov nextest --workspace --lcov --output-path $GITHUB_WORKSPACE/old-cov.lcov

- name: Meow Coverage
id: coverage-report
Expand Down

0 comments on commit 6d45076

Please sign in to comment.