Skip to content

Commit

Permalink
fix: run workflows on github
Browse files Browse the repository at this point in the history
  • Loading branch information
jochumdev committed Nov 12, 2024
1 parent 87afee1 commit f3c4887
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ func (m *GoOrb) runAll(ctx context.Context, root *dagger.Directory, worker func(
var wg sync.WaitGroup

// Start workers
for i := 0; i < runtime.NumCPU()/2; i++ {
for i := 0; i < runtime.NumCPU(); i++ {
wg.Add(1)
go worker(ctx, &wg, input, res, root)
}
Expand Down
6 changes: 4 additions & 2 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@ permissions: read-all
jobs:
lint:
name: Lint
runs-on: [self-hosted, linux, x64]
runs-on:
- ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
Expand All @@ -21,7 +22,8 @@ jobs:
cloud-token: ${{ secrets.DAGGER_CLOUD_TOKEN }}
test:
name: Unit Tests
runs-on: [self-hosted, linux, x64]
runs-on:
- ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
Expand Down
6 changes: 4 additions & 2 deletions .github/workflows/pr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@ permissions: read-all
jobs:
lint:
name: Lint
runs-on: [self-hosted, linux, x64]
runs-on:
- ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
Expand All @@ -19,7 +20,8 @@ jobs:
cloud-token: ${{ secrets.DAGGER_CLOUD_TOKEN }}
test:
name: Unit Tests
runs-on: [self-hosted, linux, x64]
runs-on:
- ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
Expand Down

0 comments on commit f3c4887

Please sign in to comment.