-
Notifications
You must be signed in to change notification settings - Fork 74
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci: use depot runners for smaller jobs
Signed-off-by: Mark Sagi-Kazar <[email protected]>
- Loading branch information
1 parent
a0d15fd
commit 0a2d3f5
Showing
1 changed file
with
4 additions
and
36 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,7 +14,7 @@ env: | |
jobs: | ||
build: | ||
name: Build | ||
runs-on: ${{ github.actor == 'dependabot[bot]' && 'ubuntu-latest' || 'ubuntu-latest-large' }} | ||
runs-on: depot-ubuntu-latest-8 | ||
|
||
steps: | ||
- name: Checkout repository | ||
|
@@ -40,29 +40,13 @@ jobs: | |
|
||
test: | ||
name: Test | ||
runs-on: ${{ github.actor == 'dependabot[bot]' && 'ubuntu-latest' || 'ubuntu-latest-large' }} | ||
runs-on: depot-ubuntu-latest-8 | ||
|
||
steps: | ||
# Required as a workaround for Dagger to properly detect Git metadata | ||
- name: Checkout repository | ||
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 | ||
|
||
- name: Free Disk Space | ||
uses: jlumbroso/[email protected] | ||
if: github.actor == 'dependabot[bot]' | ||
with: | ||
# Runs quick, run rm in background | ||
tool-cache: true | ||
|
||
# These run slower as use apt to uninstall packages | ||
# Turned on by default, so we disable them | ||
android: false | ||
dotnet: false | ||
haskell: false | ||
large-packages: false | ||
docker-images: false | ||
swap-storage: false | ||
|
||
- name: Run pipeline | ||
uses: dagger/dagger-for-github@29a88e72255e732147ba18a670978b90bcc59efd # v6.4.0 | ||
with: | ||
|
@@ -90,29 +74,13 @@ jobs: | |
|
||
lint: | ||
name: Lint | ||
runs-on: ${{ github.actor == 'dependabot[bot]' && 'ubuntu-latest' || 'ubuntu-latest-large' }} | ||
runs-on: depot-ubuntu-latest-8 | ||
|
||
steps: | ||
# Required as a workaround for Dagger to properly detect Git metadata | ||
- name: Checkout repository | ||
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 | ||
|
||
- name: Free Disk Space | ||
uses: jlumbroso/[email protected] | ||
if: github.actor == 'dependabot[bot]' | ||
with: | ||
# Runs quick, run rm in background | ||
tool-cache: true | ||
|
||
# These run slower as use apt to uninstall packages | ||
# Turned on by default, so we disable them | ||
android: false | ||
dotnet: false | ||
haskell: false | ||
large-packages: false | ||
docker-images: false | ||
swap-storage: false | ||
|
||
- name: Run pipeline | ||
uses: dagger/dagger-for-github@29a88e72255e732147ba18a670978b90bcc59efd # v6.4.0 | ||
with: | ||
|
@@ -231,7 +199,7 @@ jobs: | |
|
||
quickstart: | ||
name: Quickstart | ||
runs-on: ${{ github.actor == 'dependabot[bot]' && 'ubuntu-latest' || 'ubuntu-latest-large' }} | ||
runs-on: depot-ubuntu-latest-8 | ||
|
||
steps: | ||
- name: Checkout repository | ||
|