From 2d8945ee346b2fc5e25224e7ecf7047dcccfdebd Mon Sep 17 00:00:00 2001 From: rob thijssen Date: Wed, 17 Sep 2025 00:01:48 +0800 Subject: [PATCH] Use ubuntu-latest runner for CI workflow instead of self-hosted --- .github/workflows/ci.yml | 72 ++++++++++++++++++++-------------------- 1 file changed, 36 insertions(+), 36 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 2b86fc7..08db01b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -2,45 +2,45 @@ name: continuous integration on: - pull_request: - push: - branches: - - main + pull_request: + push: + branches: + - main concurrency: - group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} - cancel-in-progress: true + group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} + cancel-in-progress: true env: - CARGO_INCREMENTAL: 0 - CARGO_TERM_COLOR: always + CARGO_INCREMENTAL: 0 + CARGO_TERM_COLOR: always jobs: - quality-control: - runs-on: self-hosted - steps: - - uses: actions/checkout@v4 - - name: setup rust - uses: actions-rust-lang/setup-rust-toolchain@v1 - with: - toolchain: ${{ env.RUSTUP_TOOLCHAIN }} - components: rustfmt, clippy - - name: install taplo - run: cargo install taplo-cli --locked - - name: taplo - run: taplo format --check --config taplo.toml - - name: format - run: cargo fmt --all -- --check - timeout-minutes: 5 - - name: compile - run: cargo build --locked --workspace - timeout-minutes: 90 - - name: clippy - run: cargo clippy --locked --workspace - timeout-minutes: 30 - - name: test - run: cargo test --locked --workspace - timeout-minutes: 15 - - name: doc - run: cargo doc --locked --workspace --no-deps - timeout-minutes: 15 + quality-control: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - name: setup rust + uses: actions-rust-lang/setup-rust-toolchain@v1 + with: + toolchain: ${{ env.RUSTUP_TOOLCHAIN }} + components: rustfmt, clippy + - name: install taplo + run: cargo install taplo-cli --locked + - name: taplo + run: taplo format --check --config taplo.toml + - name: format + run: cargo fmt --all -- --check + timeout-minutes: 5 + - name: compile + run: cargo build --locked --workspace + timeout-minutes: 90 + - name: clippy + run: cargo clippy --locked --workspace + timeout-minutes: 30 + - name: test + run: cargo test --locked --workspace + timeout-minutes: 15 + - name: doc + run: cargo doc --locked --workspace --no-deps + timeout-minutes: 15