Skip to content

Commit ecdbf6d

Browse files
committed
[run-build-tests.yml] Fixing run-coverall
1 parent bb478f2 commit ecdbf6d

File tree

2 files changed

+5
-8
lines changed

2 files changed

+5
-8
lines changed

.github/workflows/run-build-tests.yml

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -88,11 +88,11 @@ jobs:
8888
run-coverall:
8989
runs-on: [ubuntu-latest]
9090
steps:
91-
- uses: actions/checkout@v2
92-
- name: Use golang version 1.16
93-
uses: actions/setup-go@v2
91+
- uses: actions/checkout@v3
92+
- name: Use golang version 1.17
93+
uses: actions/setup-go@v3
9494
with:
95-
go-version: '1.16'
95+
go-version: '1.17'
9696
- name: Install git annex dependency
9797
run: |
9898
bash <(wget -q -O- http://neuro.debian.net/_files/neurodebian-travis.sh)
@@ -103,9 +103,6 @@ jobs:
103103
- name: Fetch dependencies
104104
run: |
105105
go get -d ./...
106-
go get github.com/mattn/[email protected]
107-
go get github.com/spf13/[email protected]
108-
go get github.com/spf13/[email protected]
109106
go get github.com/mattn/goveralls
110107
- name: Create test coverage
111108
run: go test -covermode atomic -coverprofile=covprofile ./...

internal/web/validate.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -612,7 +612,7 @@ func Validate(w http.ResponseWriter, r *http.Request) {
612612
vars := mux.Vars(r)
613613
validator := vars["validator"]
614614
if !helpers.SupportedValidator(validator) {
615-
log.ShowWrite("[Error] unspuported validator (%v)", validator)
615+
log.ShowWrite("[Error] unsupported validator (%v)", validator)
616616
fail(w, http.StatusNotFound, "unsupported validator")
617617
return
618618
}

0 commit comments

Comments
 (0)