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
05489427
Unverified
Commit
05489427
authored
Apr 26, 2024
by
Blake Mizerany
Committed by
GitHub
Apr 26, 2024
Browse files
.github/workflows/test.yaml: add in-flight cancellations on new push (#3956)
Also, remove a superfluous 'go get'
parent
5c0c2d1d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
1 deletion
+10
-1
.github/workflows/test.yaml
.github/workflows/test.yaml
+10
-1
No files found.
.github/workflows/test.yaml
View file @
05489427
name
:
test
name
:
test
concurrency
:
# For PRs, later CI runs preempt previous ones. e.g. a force push on a PR
# cancels running CI jobs and starts all new ones.
#
# For non-PR pushes, concurrency.group needs to be unique for every distinct
# CI run we want to have happen. Use run_id, which in practice means all
# non-PR CI runs will be allowed to run without preempting each other.
group
:
${{ github.workflow }}-$${{ github.pull_request.number || github.run_id }}
cancel-in-progress
:
true
on
:
on
:
pull_request
:
pull_request
:
paths
:
paths
:
...
@@ -283,7 +293,6 @@ jobs:
...
@@ -283,7 +293,6 @@ jobs:
with
:
with
:
go-version-file
:
go.mod
go-version-file
:
go.mod
cache
:
true
cache
:
true
-
run
:
go get
-
run
:
|
-
run
:
|
case ${{ matrix.arch }} in
case ${{ matrix.arch }} in
amd64) echo ARCH=x86_64 ;;
amd64) echo ARCH=x86_64 ;;
...
...
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