Skip to content

ci: use Buildjet and faster Windows runners #7751

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

Merged
merged 4 commits into from
Jun 1, 2023
Merged
Show file tree
Hide file tree
Changes from 1 commit
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
Prev Previous commit
Change setup actions too
  • Loading branch information
ammario committed Jun 1, 2023
commit f2e83e24a5e21ae04fac457f3b660e7a85af18ac
19 changes: 10 additions & 9 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,10 @@ jobs:
uses: actions/checkout@v3

# Install Go!
- uses: actions/setup-go@v4
- uses: buildjet/setup-go@v4
with:
go-version: ${{ env.CODER_GO_VERSION }}
cache: true

# Check for any typos!
- name: Check for typos
Expand Down Expand Up @@ -152,7 +153,7 @@ jobs:
- name: Install node_modules
run: ./scripts/yarn_install.sh

- uses: actions/setup-go@v4
- uses: buildjet/setup-go@v4
with:
cache: false
go-version: ${{ env.CODER_GO_VERSION }}
Expand Down Expand Up @@ -255,7 +256,7 @@ jobs:
steps:
- uses: actions/checkout@v3

- uses: actions/setup-go@v4
- uses: buildjet/setup-go@v4
with:
cache: false
go-version: ${{ env.CODER_GO_VERSION }}
Expand Down Expand Up @@ -344,7 +345,7 @@ jobs:
steps:
- uses: actions/checkout@v3

- uses: actions/setup-go@v4
- uses: buildjet/setup-go@v4
with:
cache: false
go-version: ${{ env.CODER_GO_VERSION }}
Expand Down Expand Up @@ -436,7 +437,7 @@ jobs:
- name: Set up Google Cloud SDK
uses: google-github-actions/setup-gcloud@v1

- uses: actions/setup-go@v4
- uses: buildjet/setup-go@v4
with:
cache: false
go-version: ${{ env.CODER_GO_VERSION }}
Expand Down Expand Up @@ -548,7 +549,7 @@ jobs:
restore-keys: |
js-${{ runner.os }}-

- uses: actions/setup-node@v3
- uses: buildjet/setup-node@v3
with:
node-version: "16.16.0"

Expand Down Expand Up @@ -588,7 +589,7 @@ jobs:
.eslintcache
key: js-${{ runner.os }}-e2e-${{ hashFiles('**/yarn.lock') }}

- uses: actions/setup-go@v4
- uses: buildjet/setup-go@v4
with:
cache: false
go-version: ${{ env.CODER_GO_VERSION }}
Expand All @@ -598,7 +599,7 @@ jobs:
terraform_version: 1.1.9
terraform_wrapper: false

- uses: actions/setup-node@v3
- uses: buildjet/setup-node@v3
with:
node-version: "16.16.0"

Expand Down Expand Up @@ -654,7 +655,7 @@ jobs:
# only get 1 commit on shallow checkout.
fetch-depth: 0

- uses: actions/setup-node@v3
- uses: buildjet/setup-node@v3
with:
node-version: "16.16.0"

Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -98,9 +98,10 @@ jobs:
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

- uses: actions/setup-go@v4
- uses: buildjet/setup-go@v4
with:
go-version: ${{ env.CODER_GO_VERSION }}
cache: true

- name: Cache Node
id: cache-node
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/security.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
languages: go, javascript

- name: Setup Go
uses: actions/setup-go@v4
uses: buildjet/setup-go@v4
with:
go-version: ${{ env.CODER_GO_VERSION }}

Expand Down Expand Up @@ -63,9 +63,10 @@ jobs:
with:
fetch-depth: 0

- uses: actions/setup-go@v4
- uses: buildjet/setup-go@v4
with:
go-version: ${{ env.CODER_GO_VERSION }}
cache: true

- name: Cache Node
id: cache-node
Expand Down