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

workflows: use self-hosted runners #3058

Merged
merged 1 commit into from
Apr 30, 2024
Merged
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/build-push-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:
name: Build and Publish Docker Image
jobs:
build-docker:
runs-on: ubuntu-latest
runs-on: charon-ci
name: Build Docker Image
steps:
- uses: actions/checkout@v3
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/golangci-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ permissions:

jobs:
golangci:
runs-on: ubuntu-latest
runs-on: charon-ci
steps:
# Config options can be found in README here: https://github.com/golangci/golangci-lint-action
- uses: actions/setup-go@v4
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/nightly-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:

jobs:
nightly_test:
runs-on: ubuntu-latest
runs-on: charon-ci
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v4
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pre-commit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
- main*
jobs:
pre-commit:
runs-on: ubuntu-latest
runs-on: charon-ci
env:
SKIP: golangci-lint,run-go-tests,no-commit-to-branch
steps:
Expand Down
13 changes: 10 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
- main*
jobs:
unit_tests:
runs-on: ubuntu-latest
runs-on: charon-ci
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v4
Expand All @@ -28,7 +28,10 @@ jobs:
files: coverage.out

integration_tests:
runs-on: ubuntu-latest
runs-on: charon-ci
if: ${{ always() }} # makes this step always execute, even if unit_tests fails
needs:
- unit_tests
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v4
Expand All @@ -45,7 +48,11 @@ jobs:
- run: go test -v -timeout=10m -race github.com/obolnetwork/charon/testutil/integration -integration

compose_tests:
runs-on: ubuntu-latest
runs-on: charon-ci
if: ${{ always() }} # makes this step always execute, even if unit_tests or integration_tests fails
needs:
- unit_tests
- integration_tests
steps:
- uses: actions/checkout@v3
- name: Set up QEMU
Expand Down
Loading