From a5b23dbaa5ef5e179a9d8bb95c0e02d988ef0dd2 Mon Sep 17 00:00:00 2001 From: Hien To Date: Thu, 26 Dec 2024 13:33:56 +0700 Subject: [PATCH] chore: switch to github-hosted runner --- .github/workflows/jan-electron-linter-and-test.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/jan-electron-linter-and-test.yml b/.github/workflows/jan-electron-linter-and-test.yml index b384a13753..3f0e1a1625 100644 --- a/.github/workflows/jan-electron-linter-and-test.yml +++ b/.github/workflows/jan-electron-linter-and-test.yml @@ -66,7 +66,7 @@ jobs: test-on-macos: if: (github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name == github.repository) || github.event_name == 'push' || github.event_name == 'workflow_dispatch' - runs-on: [self-hosted, macOS, macos-desktop] + runs-on: macos-latest steps: - name: Getting the repo uses: actions/checkout@v3 @@ -106,7 +106,7 @@ jobs: test-on-macos-pr-target: if: github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name != github.repository - runs-on: [self-hosted, macOS, macos-desktop] + runs-on: macos-latest steps: - name: Getting the repo uses: actions/checkout@v3 @@ -222,7 +222,7 @@ jobs: test-on-windows-pr-target: if: github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name != github.repository - runs-on: windows-desktop-default-windows-security + runs-on: windows-latest steps: - name: Getting the repo uses: actions/checkout@v3 @@ -253,7 +253,7 @@ jobs: make test test-on-ubuntu: - runs-on: [self-hosted, Linux, ubuntu-desktop] + runs-on: ubuntu-latest if: (github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name == github.repository) || github.event_name == 'push' || github.event_name == 'workflow_dispatch' steps: - name: Getting the repo @@ -301,7 +301,7 @@ jobs: retention-days: 2 coverage-check: - runs-on: ubuntu-22-04 + runs-on: ubuntu-latest needs: base_branch_cov if: (github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name == github.repository) || github.event_name == 'push' || github.event_name == 'workflow_dispatch' steps: @@ -348,7 +348,7 @@ jobs: show-annotations: 'warning' test-on-ubuntu-pr-target: - runs-on: [self-hosted, Linux, ubuntu-desktop] + runs-on: ubuntu-latest if: github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name != github.repository steps: - name: Getting the repo