Skip to content

Commit

Permalink
chore: update CI to run on self-hosted runners
Browse files Browse the repository at this point in the history
  • Loading branch information
RiccardoM committed Jan 15, 2025
1 parent 3c904e4 commit 6d6075a
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 12 deletions.
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/[email protected]
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

0 comments on commit 6d6075a

Please sign in to comment.