From bcebd854c6efc4f1fff588c05af936e22655756b Mon Sep 17 00:00:00 2001 From: Paul-Henry Kajfasz Date: Tue, 18 Jun 2024 16:11:14 +0100 Subject: [PATCH] Update lint and test --- .github/workflows/lint.yml | 19 +++++++++++++++---- .github/workflows/test.yml | 12 ++++++------ 2 files changed, 21 insertions(+), 10 deletions(-) diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 40eba5acf8..5f31d541fb 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -6,7 +6,7 @@ on: push: branches: [main, next] pull_request: - types: [opened, reopened, synchronize] + types: [opened, reopened, synchronize] jobs: version: @@ -32,12 +32,23 @@ jobs: make format-check clippy: - name: clippy stable on ubuntu-latest + name: clippy nightly on ubuntu-latest runs-on: ubuntu-latest steps: - uses: actions/checkout@main - - name: Install minimal Rust with clippy + - name: Clippy run: | rustup update --no-self-update nightly rustup +nightly component add clippy - make clippy \ No newline at end of file + make clippy + + doc: + name: doc stable on ubuntu-latest + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@main + - name: Build docs + run: | + rustup update --no-self-update + make doc + diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 1a6995e130..c31f5f54c3 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -4,22 +4,22 @@ on: push: branches: [main, next] pull_request: - types: [opened, reopened, synchronize] + types: [opened, reopened, synchronize] jobs: test: - name: test ${{matrix.toolchain}} on ${{matrix.os}} with ${{matrix.args}} + name: test ${{matrix.toolchain}} on ${{matrix.os}} runs-on: ${{matrix.os}} strategy: fail-fast: false matrix: toolchain: [stable, nightly] - os: [ubuntu, windows-2022] + os: [ubuntu-latest] timeout-minutes: 30 steps: - uses: actions/checkout@main - - uses: taiki-e/install-action@nextest + - uses: taiki-e/install-action@nextest - name: Perform tests run: | - rustup update --no-self-update ${{matrix.toolchain}} - make test \ No newline at end of file + rustup update --no-self-update ${{matrix.toolchain}} + make test