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
Show 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:
...
@@ -30,7 +30,7 @@ jobs:
security set-key-partition-list -S apple-tool:,apple:,codesign: -s -k password build.keychain
security set-key-partition-list -S apple-tool:,apple:,codesign: -s -k password build.keychain
-
uses
:
actions/setup-go@v5
-
uses
:
actions/setup-go@v5
with
:
with
:
go-version
:
'
1.22'
go-version
-file
:
go.mod
cache
:
true
cache
:
true
-
name
:
Build Darwin
-
name
:
Build Darwin
env
:
env
:
...
@@ -86,7 +86,7 @@ jobs:
...
@@ -86,7 +86,7 @@ jobs:
write-host "plugin installed"
write-host "plugin installed"
-
uses
:
actions/setup-go@v5
-
uses
:
actions/setup-go@v5
with
:
with
:
go-version
:
'
1.22'
go-version
-file
:
go.mod
cache
:
true
cache
:
true
-
run
:
go get ./...
-
run
:
go get ./...
-
run
:
|
-
run
:
|
...
@@ -139,7 +139,7 @@ jobs:
...
@@ -139,7 +139,7 @@ jobs:
write-host "plugin installed"
write-host "plugin installed"
-
uses
:
actions/setup-go@v5
-
uses
:
actions/setup-go@v5
with
:
with
:
go-version
:
'
1.22'
go-version
-file
:
go.mod
cache
:
true
cache
:
true
-
name
:
'
Install
ROCm'
-
name
:
'
Install
ROCm'
run
:
|
run
:
|
...
@@ -214,7 +214,7 @@ jobs:
...
@@ -214,7 +214,7 @@ jobs:
write-host "plugin installed"
write-host "plugin installed"
-
uses
:
actions/setup-go@v5
-
uses
:
actions/setup-go@v5
with
:
with
:
go-version
:
'
1.22'
go-version
-file
:
go.mod
cache
:
true
cache
:
true
-
name
:
'
Install
CUDA'
-
name
:
'
Install
CUDA'
run
:
|
run
:
|
...
@@ -300,7 +300,7 @@ jobs:
...
@@ -300,7 +300,7 @@ jobs:
write-host "plugin installed"
write-host "plugin installed"
-
uses
:
actions/setup-go@v5
-
uses
:
actions/setup-go@v5
with
:
with
:
go-version
:
'
1.22'
go-version
-file
:
go.mod
cache
:
true
cache
:
true
-
run
:
go get
-
run
:
go get
-
uses
:
actions/download-artifact@v4
-
uses
:
actions/download-artifact@v4
...
...
.github/workflows/test.yaml
View file @
d9578d2b
...
@@ -51,7 +51,7 @@ jobs:
...
@@ -51,7 +51,7 @@ jobs:
-
uses
:
actions/checkout@v4
-
uses
:
actions/checkout@v4
-
uses
:
actions/setup-go@v5
-
uses
:
actions/setup-go@v5
with
:
with
:
go-version
:
'
1.22'
go-version
-file
:
go.mod
cache
:
true
cache
:
true
-
run
:
go get ./...
-
run
:
go get ./...
-
run
:
|
-
run
:
|
...
@@ -93,7 +93,7 @@ jobs:
...
@@ -93,7 +93,7 @@ jobs:
-
uses
:
actions/checkout@v4
-
uses
:
actions/checkout@v4
-
uses
:
actions/setup-go@v4
-
uses
:
actions/setup-go@v4
with
:
with
:
go-version
:
'
1.22'
go-version
-file
:
go.mod
cache
:
true
cache
:
true
-
run
:
go get ./...
-
run
:
go get ./...
-
run
:
|
-
run
:
|
...
@@ -124,7 +124,7 @@ jobs:
...
@@ -124,7 +124,7 @@ jobs:
-
uses
:
actions/checkout@v4
-
uses
:
actions/checkout@v4
-
uses
:
actions/setup-go@v4
-
uses
:
actions/setup-go@v4
with
:
with
:
go-version
:
'
1.22'
go-version
-file
:
go.mod
cache
:
true
cache
:
true
-
run
:
go get ./...
-
run
:
go get ./...
-
run
:
|
-
run
:
|
...
@@ -146,7 +146,7 @@ jobs:
...
@@ -146,7 +146,7 @@ jobs:
-
uses
:
actions/checkout@v4
-
uses
:
actions/checkout@v4
-
uses
:
actions/setup-go@v5
-
uses
:
actions/setup-go@v5
with
:
with
:
go-version
:
'
1.22'
go-version
-file
:
go.mod
cache
:
true
cache
:
true
-
name
:
'
Install
ROCm'
-
name
:
'
Install
ROCm'
run
:
|
run
:
|
...
@@ -183,7 +183,7 @@ jobs:
...
@@ -183,7 +183,7 @@ jobs:
-
uses
:
actions/checkout@v4
-
uses
:
actions/checkout@v4
-
uses
:
actions/setup-go@v5
-
uses
:
actions/setup-go@v5
with
:
with
:
go-version
:
'
1.22'
go-version
-file
:
go.mod
cache
:
true
cache
:
true
-
name
:
'
Install
CUDA'
-
name
:
'
Install
CUDA'
run
:
|
run
:
|
...
@@ -238,7 +238,7 @@ jobs:
...
@@ -238,7 +238,7 @@ jobs:
submodules
:
recursive
submodules
:
recursive
-
uses
:
actions/setup-go@v5
-
uses
:
actions/setup-go@v5
with
:
with
:
go-version
:
'
1.22'
go-version
-file
:
go.mod
cache
:
false
cache
:
false
-
run
:
|
-
run
:
|
case ${{ matrix.arch }} in
case ${{ matrix.arch }} in
...
@@ -283,7 +283,7 @@ jobs:
...
@@ -283,7 +283,7 @@ jobs:
submodules
:
recursive
submodules
:
recursive
-
uses
:
actions/setup-go@v5
-
uses
:
actions/setup-go@v5
with
:
with
:
go-version
:
'
1.22'
go-version
-file
:
go.mod
cache
:
true
cache
:
true
-
run
:
go get
-
run
:
go get
-
run
:
|
-
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