mirror of
https://github.com/matrix-org/sliding-sync.git
synced 2025-03-10 13:37:11 +00:00
Use setup-go v4
Which claims to automatically cache build products and deps
This commit is contained in:
parent
f3594545e6
commit
3d13409d45
12
.github/workflows/tests.yml
vendored
12
.github/workflows/tests.yml
vendored
@ -44,7 +44,7 @@ jobs:
|
||||
- uses: actions/checkout@v3
|
||||
|
||||
- name: Install Go
|
||||
uses: actions/setup-go@v3
|
||||
uses: actions/setup-go@v4
|
||||
with:
|
||||
go-version: 1.19
|
||||
|
||||
@ -118,10 +118,12 @@ jobs:
|
||||
--health-retries 5
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- name: "Set Go Version"
|
||||
run: |
|
||||
echo "$GOROOT_1_19_X64/bin" >> $GITHUB_PATH
|
||||
echo "~/go/bin" >> $GITHUB_PATH
|
||||
|
||||
- name: Install Go
|
||||
uses: actions/setup-go@v4
|
||||
with:
|
||||
go-version: 1.19
|
||||
|
||||
- name: Build
|
||||
run: go build ./cmd/syncv3
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user