From fe966d48ab1f1b16f34a4357fbdc93f766dad194 Mon Sep 17 00:00:00 2001 From: David Date: Fri, 25 Oct 2024 14:39:04 +0800 Subject: [PATCH] chore(ci): use `arc-runner-set` (#340) --- .github/workflows/ci.yml | 6 +++++- .github/workflows/close-inactive-issues.yml | 2 +- .github/workflows/lint-pr.yml | 2 +- .github/workflows/release-please.yml | 2 +- 4 files changed, 8 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a4c8924580..dfcb76c4d3 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -8,13 +8,17 @@ on: jobs: test: - runs-on: ubuntu-latest + runs-on: arc-runner-set steps: - name: Cancel Previous Runs uses: styfle/cancel-workflow-action@0.11.0 with: access_token: ${{ github.token }} + - name: Prepare environment + continue-on-error: true + run: sudo apt-get update && sudo apt-get install -y build-essential + - uses: actions/checkout@v3 with: repository: taikoxyz/taiko-geth diff --git a/.github/workflows/close-inactive-issues.yml b/.github/workflows/close-inactive-issues.yml index 7859200c10..1dec9c804b 100644 --- a/.github/workflows/close-inactive-issues.yml +++ b/.github/workflows/close-inactive-issues.yml @@ -5,7 +5,7 @@ on: jobs: close-issues: - runs-on: ubuntu-latest + runs-on: arc-runner-set permissions: issues: write pull-requests: write diff --git a/.github/workflows/lint-pr.yml b/.github/workflows/lint-pr.yml index ce00cc6b1e..7a3b6a5da4 100644 --- a/.github/workflows/lint-pr.yml +++ b/.github/workflows/lint-pr.yml @@ -7,7 +7,7 @@ on: jobs: main: name: Validate PR title - runs-on: ubuntu-latest + runs-on: arc-runner-set steps: - uses: amannn/action-semantic-pull-request@v5 env: diff --git a/.github/workflows/release-please.yml b/.github/workflows/release-please.yml index 8d00df7df4..d696bd1c66 100644 --- a/.github/workflows/release-please.yml +++ b/.github/workflows/release-please.yml @@ -11,7 +11,7 @@ permissions: jobs: release-please: - runs-on: ubuntu-latest + runs-on: arc-runner-set steps: - uses: googleapis/release-please-action@v4 with: