Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
ollama
Commits
d9578d2b
Unverified
Commit
d9578d2b
authored
Apr 09, 2024
by
Michael Yang
Committed by
GitHub
Apr 09, 2024
Browse files
Merge pull request #3559 from ollama/mxyng/ci
ci: use go-version-file
parents
fc6558f4
cb8352d6
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
12 deletions
+12
-12
.github/workflows/release.yaml
.github/workflows/release.yaml
+5
-5
.github/workflows/test.yaml
.github/workflows/test.yaml
+7
-7
No files found.
.github/workflows/release.yaml
View file @
d9578d2b
...
...
@@ -30,7 +30,7 @@ jobs:
security set-key-partition-list -S apple-tool:,apple:,codesign: -s -k password build.keychain
-
uses
:
actions/setup-go@v5
with
:
go-version
:
'
1.22'
go-version
-file
:
go.mod
cache
:
true
-
name
:
Build Darwin
env
:
...
...
@@ -86,7 +86,7 @@ jobs:
write-host "plugin installed"
-
uses
:
actions/setup-go@v5
with
:
go-version
:
'
1.22'
go-version
-file
:
go.mod
cache
:
true
-
run
:
go get ./...
-
run
:
|
...
...
@@ -139,7 +139,7 @@ jobs:
write-host "plugin installed"
-
uses
:
actions/setup-go@v5
with
:
go-version
:
'
1.22'
go-version
-file
:
go.mod
cache
:
true
-
name
:
'
Install
ROCm'
run
:
|
...
...
@@ -214,7 +214,7 @@ jobs:
write-host "plugin installed"
-
uses
:
actions/setup-go@v5
with
:
go-version
:
'
1.22'
go-version
-file
:
go.mod
cache
:
true
-
name
:
'
Install
CUDA'
run
:
|
...
...
@@ -300,7 +300,7 @@ jobs:
write-host "plugin installed"
-
uses
:
actions/setup-go@v5
with
:
go-version
:
'
1.22'
go-version
-file
:
go.mod
cache
:
true
-
run
:
go get
-
uses
:
actions/download-artifact@v4
...
...
.github/workflows/test.yaml
View file @
d9578d2b
...
...
@@ -51,7 +51,7 @@ jobs:
-
uses
:
actions/checkout@v4
-
uses
:
actions/setup-go@v5
with
:
go-version
:
'
1.22'
go-version
-file
:
go.mod
cache
:
true
-
run
:
go get ./...
-
run
:
|
...
...
@@ -93,7 +93,7 @@ jobs:
-
uses
:
actions/checkout@v4
-
uses
:
actions/setup-go@v4
with
:
go-version
:
'
1.22'
go-version
-file
:
go.mod
cache
:
true
-
run
:
go get ./...
-
run
:
|
...
...
@@ -124,7 +124,7 @@ jobs:
-
uses
:
actions/checkout@v4
-
uses
:
actions/setup-go@v4
with
:
go-version
:
'
1.22'
go-version
-file
:
go.mod
cache
:
true
-
run
:
go get ./...
-
run
:
|
...
...
@@ -146,7 +146,7 @@ jobs:
-
uses
:
actions/checkout@v4
-
uses
:
actions/setup-go@v5
with
:
go-version
:
'
1.22'
go-version
-file
:
go.mod
cache
:
true
-
name
:
'
Install
ROCm'
run
:
|
...
...
@@ -183,7 +183,7 @@ jobs:
-
uses
:
actions/checkout@v4
-
uses
:
actions/setup-go@v5
with
:
go-version
:
'
1.22'
go-version
-file
:
go.mod
cache
:
true
-
name
:
'
Install
CUDA'
run
:
|
...
...
@@ -238,7 +238,7 @@ jobs:
submodules
:
recursive
-
uses
:
actions/setup-go@v5
with
:
go-version
:
'
1.22'
go-version
-file
:
go.mod
cache
:
false
-
run
:
|
case ${{ matrix.arch }} in
...
...
@@ -283,7 +283,7 @@ jobs:
submodules
:
recursive
-
uses
:
actions/setup-go@v5
with
:
go-version
:
'
1.22'
go-version
-file
:
go.mod
cache
:
true
-
run
:
go get
-
run
:
|
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment