Skip to content

Commit

Permalink
chore: Switch test workflows to ubicloud runners (#2078)
Browse files Browse the repository at this point in the history
#### Summary

Uses ubicloud runners which are 10x cheaper for testing workflows.
Publishing related workflows will still use GitHub runners for security reasons

---
  • Loading branch information
erezrokah authored Feb 11, 2025
1 parent dbdae2f commit e389c35
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/lint_golang.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ on:
jobs:
golangci:
name: Lint with GolangCI
runs-on: large-ubuntu-plugin-sdk
runs-on: ubicloud-standard-8
timeout-minutes: 10
steps:
- uses: actions/checkout@v4
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/unittest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
unitests:
strategy:
matrix:
os: [large-ubuntu-plugin-sdk, large-windows-plugin-sdk, macos-latest]
os: [ubicloud-standard-8, large-windows-plugin-sdk, macos-latest]
runs-on: ${{ matrix.os }}
timeout-minutes: 15
steps:
Expand All @@ -26,13 +26,13 @@ jobs:
- name: Run tests
run: make test
- name: Run benchmark
if: matrix.os == 'large-ubuntu-plugin-sdk'
if: matrix.os == 'ubicloud-standard-8'
run: make benchmark-ci
- name: Save PR number
if: matrix.os == 'large-ubuntu-plugin-sdk' && github.event_name == 'pull_request'
if: matrix.os == 'ubicloud-standard-8' && github.event_name == 'pull_request'
run: echo ${{ github.event.number }} > ./pr_number
- name: Upload deltas
if: matrix.os == 'large-ubuntu-plugin-sdk'
if: matrix.os == 'ubicloud-standard-8'
uses: actions/upload-artifact@v4
with:
name: delta-action-benchmarks
Expand Down

0 comments on commit e389c35

Please sign in to comment.