build fmt
@@ -34,7 +34,6 @@ jobs:
- uses: actions/checkout@v2
- run: rustup update --no-self-update ${{ matrix.rust }} && rustup default ${{ matrix.rust }}
- run: rustup target add ${{ matrix.other }}
- - run: rustup component add rustfmt || echo "rustfmt not available"
- name: build linux
run: cargo build
@@ -50,4 +49,4 @@ jobs:
- name: fmt
run: cargo fmt --all -- --check
- if: matrix.os == 'windows-latest'
+ if: matrix.os == 'windows-latest' && matrix.rust == 'stable'
