diff --git a/.github/workflows/nightly_build.yml b/.github/workflows/nightly_build.yml index 70a10c2fcb..70ac8c105f 100644 --- a/.github/workflows/nightly_build.yml +++ b/.github/workflows/nightly_build.yml @@ -10,7 +10,7 @@ jobs: matrix: ${{ steps.set-matrix.outputs.matrix }} steps: # creates the matrix strategy from nightly_build_matrix_includes.json - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - id: set-matrix uses: JoshuaTheMiller/conditional-build-matrix@main with: @@ -29,7 +29,7 @@ jobs: if: matrix.os == 'ubuntu-20.04' - name: Check out repository code - uses: actions/checkout@v2 + uses: actions/checkout@v3 - name: Install rust toolchain uses: actions-rs/toolchain@v1 @@ -147,7 +147,7 @@ jobs: - name: Collect jobs status uses: technote-space/workflow-conclusion-action@v2 - name: Check out repository code - uses: actions/checkout@v2 + uses: actions/checkout@v3 - name: install npm uses: actions/setup-node@v3 if: env.WORKFLOW_CONCLUSION == 'failure' diff --git a/.github/workflows/nightly_build_release.yml b/.github/workflows/nightly_build_release.yml index 1ab38963e9..787088172f 100644 --- a/.github/workflows/nightly_build_release.yml +++ b/.github/workflows/nightly_build_release.yml @@ -54,6 +54,12 @@ jobs: override: true components: rustfmt, clippy + - name: Check formatting + uses: actions-rs/cargo@v1 + with: + command: fmt + args: --all -- --check + - name: Build all binaries uses: actions-rs/cargo@v1 with: @@ -66,6 +72,18 @@ jobs: with: command: clean + - name: Build all examples + uses: actions-rs/cargo@v1 + with: + command: build + args: --workspace --examples + + - name: Reclaim some disk space (because Windows is being annoying) + uses: actions-rs/cargo@v1 + if: ${{ matrix.os == 'windows-latest' }} + with: + command: clean + - name: Run all tests uses: actions-rs/cargo@v1 with: @@ -74,7 +92,7 @@ jobs: - name: Reclaim some disk space (because Windows is being annoying) uses: actions-rs/cargo@v1 - if: ${{ matrix.os == 'windows-latest' }} + if: ${{ matrix.os == 'windows-latest' || matrix.os == 'ubuntu-20.04' }} with: command: clean @@ -83,13 +101,7 @@ jobs: uses: actions-rs/cargo@v1 with: command: test - args: --workspace --all-features -- --ignored - - - name: Check formatting - uses: actions-rs/cargo@v1 - with: - command: fmt - args: --all -- --check + args: --workspace -- --ignored - name: Reclaim some disk space (because Windows is being annoying) uses: actions-rs/cargo@v1 @@ -102,7 +114,7 @@ jobs: continue-on-error: true with: token: ${{ secrets.GITHUB_TOKEN }} - args: --all-features + args: --workspace - name: Run clippy uses: actions-rs/cargo@v1 diff --git a/.github/workflows/nightly_build_release2.yml b/.github/workflows/nightly_build_release2.yml index 4e328d39d1..7ca52b3fde 100644 --- a/.github/workflows/nightly_build_release2.yml +++ b/.github/workflows/nightly_build_release2.yml @@ -54,6 +54,12 @@ jobs: override: true components: rustfmt, clippy + - name: Check formatting + uses: actions-rs/cargo@v1 + with: + command: fmt + args: --all -- --check + - name: Build all binaries uses: actions-rs/cargo@v1 with: @@ -66,6 +72,18 @@ jobs: with: command: clean + - name: Build all examples + uses: actions-rs/cargo@v1 + with: + command: build + args: --workspace --examples + + - name: Reclaim some disk space (because Windows is being annoying) + uses: actions-rs/cargo@v1 + if: ${{ matrix.os == 'windows-latest' }} + with: + command: clean + - name: Run all tests uses: actions-rs/cargo@v1 with: @@ -74,7 +92,7 @@ jobs: - name: Reclaim some disk space (because Windows is being annoying) uses: actions-rs/cargo@v1 - if: ${{ matrix.os == 'windows-latest' }} + if: ${{ matrix.os == 'windows-latest' || matrix.os == 'ubuntu-20.04' }} with: command: clean @@ -83,13 +101,7 @@ jobs: uses: actions-rs/cargo@v1 with: command: test - args: --workspace --all-features -- --ignored - - - name: Check formatting - uses: actions-rs/cargo@v1 - with: - command: fmt - args: --all -- --check + args: --workspace -- --ignored - name: Reclaim some disk space (because Windows is being annoying) uses: actions-rs/cargo@v1 @@ -102,7 +114,7 @@ jobs: continue-on-error: true with: token: ${{ secrets.GITHUB_TOKEN }} - args: --all-features + args: --workspace - name: Run clippy uses: actions-rs/cargo@v1