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

Improve CI performance for Windows #2600

Merged
merged 5 commits into from
Nov 17, 2023
Merged
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
10 changes: 6 additions & 4 deletions .github/workflows/windows.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,17 @@ jobs:
DOWNLOAD_CACHE: 'd:\downloadcache'
runs-on: windows-latest
steps:
- shell: pwsh
run: |
echo "GOPATH=D:/a/_temp/go/work" >> $env:GITHUB_ENV
echo "GOCACHE=D:/a/_temp/go/cache" >> $env:GITHUB_ENV
jchadwick-buf marked this conversation as resolved.
Show resolved Hide resolved
- name: checkout
uses: actions/checkout@v4
- name: go-cache
uses: actions/cache@v3
with:
path: |
~\AppData\Local\go-build
~\go\pkg\mod
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
path: D:/a/_temp/go
jchadwick-buf marked this conversation as resolved.
Show resolved Hide resolved
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}-v2
restore-keys: |
${{ runner.os }}-go-
- name: setup-go
Expand Down