Skip to content

Commit

Permalink
skip fmt on stable
Browse files Browse the repository at this point in the history
alternatively remove `format_code_in_doc_comments = true` which is unstable
  • Loading branch information
mriise authored Aug 9, 2022
1 parent 3a3dacf commit 6235d26
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
fail-fast: false
matrix:
platform: [ubuntu-latest, macos-latest, windows-latest]
toolchain: [stable]
toolchain: [stable, nightly]
runs-on: ${{ matrix.platform }}

steps:
Expand All @@ -31,6 +31,7 @@ jobs:
components: rustfmt, clippy

- name: Check Code Format
if: ${{ matrix.toolchain == 'nightly' }}
uses: actions-rs/cargo@v1
with:
command: fmt
Expand Down

0 comments on commit 6235d26

Please sign in to comment.