Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: update CI to run on self-hosted runners #241

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/buf.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ permissions:

jobs:
buf:
runs-on: ubuntu-latest
runs-on: self-hosted
steps:
- name: Checkout 🛎️
uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ env:
jobs:
milkywayd:
name: Milkywayd
runs-on: ubuntu-latest
runs-on: self-hosted
permissions:
contents: read
packages: write
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/labeler.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ concurrency:

jobs:
Labeler:
runs-on: self-hosted
permissions:
contents: read
pull-requests: write
runs-on: ubuntu-latest
steps:
- name: Checkout 🛎️
uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/lint-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ concurrency:

jobs:
main:
runs-on: ubuntu-latest
runs-on: self-hosted
steps:
- name: Lint PR 🧹
uses: amannn/action-semantic-pull-request@v5.5.3
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ concurrency:

jobs:
GolangCI:
runs-on: ubuntu-latest
runs-on: self-hosted
timeout-minutes: 30
steps:
- name: Checkout 🛎️
Expand Down
14 changes: 7 additions & 7 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ concurrency:

jobs:
Install-tparse:
runs-on: ubuntu-latest
runs-on: self-hosted
steps:
- name: Setup Go 🧰
uses: actions/setup-go@v5
Expand All @@ -40,7 +40,7 @@ jobs:
key: ${{ runner.os }}-go-tparse-binary

Build:
runs-on: ubuntu-latest
runs-on: self-hosted
strategy:
matrix:
go-arch: [ "amd64" ]
Expand Down Expand Up @@ -69,7 +69,7 @@ jobs:
run: GOARCH=${{ matrix.go-arch }} LEDGER_ENABLED=false make build

Split-test-files:
runs-on: ubuntu-latest
runs-on: self-hosted
steps:
- name: Checkout 🛎️
uses: actions/checkout@v4
Expand Down Expand Up @@ -113,7 +113,7 @@ jobs:
path: ./pkgs.txt.part.03

Tests:
runs-on: ubuntu-latest
runs-on: self-hosted
needs: Split-test-files
strategy:
fail-fast: false
Expand Down Expand Up @@ -157,7 +157,7 @@ jobs:
path: ./${{ matrix.part }}profile.out

Upload-coverage-report:
runs-on: ubuntu-latest
runs-on: self-hosted
needs: Tests
steps:
- name: Checkout 🛎️
Expand Down Expand Up @@ -223,7 +223,7 @@ jobs:
if: env.GIT_DIFF

Test-race:
runs-on: ubuntu-latest
runs-on: self-hosted
needs: Split-test-files
strategy:
fail-fast: false
Expand Down Expand Up @@ -267,7 +267,7 @@ jobs:
path: ./${{ matrix.part }}-race-output.txt

Race-detector-report:
runs-on: ubuntu-latest
runs-on: self-hosted
needs: [ Test-race, Install-tparse ]
timeout-minutes: 5
steps:
Expand Down
Loading