message: Move rustfmt to after tests
diff: @@ -25,8 +25,6 @@ jobs:
  components: rustfmt
  - name: clean
  run: cargo clean
  - - name: check formatting
  - run: cargo fmt -- --check
  - name: build
  run: cargo build --verbose
  env:
  @@ -40,6 +38,8 @@ jobs:
  env:
  RUST_BACKTRACE: 1
  if: matrix.version == 'nightly'
  + - name: check formatting
  + run: cargo fmt -- --check
  - name: notify docker hub
  run: |
  curl --request POST \
  