Bringing things to order in workflows/ #363
@ -5,8 +5,8 @@ on:
|
||||
- master
|
||||
- v3
|
||||
jobs:
|
||||
setup:
|
||||
name: setup
|
||||
lint:
|
||||
name: lint
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: setup-go
|
||||
@ -17,11 +17,6 @@ jobs:
|
||||
uses: actions/checkout@v3
|
||||
- name: deps
|
||||
run: go get -v -d ./...
|
||||
lint:
|
||||
name: lint
|
||||
runs-on: ubuntu-latest
|
||||
needs: setup
|
||||
steps:
|
||||
- name: lint
|
||||
uses: https://github.com/golangci/golangci-lint-action@v6
|
||||
with:
|
||||
@ -29,14 +24,16 @@ jobs:
|
||||
test:
|
||||
name: test
|
||||
runs-on: ubuntu-latest
|
||||
# needs: setup
|
||||
steps:
|
||||
- name: setup-go
|
||||
uses: actions/setup-go@v5
|
||||
with:
|
||||
go-version: 'stable'
|
||||
- name: checkout
|
||||
uses: actions/checkout@v3
|
||||
- name: deps
|
||||
run: go get -v -d ./...
|
||||
- name: test
|
||||
env:
|
||||
INTEGRATION_TESTS: yes
|
||||
run: go test -mod readonly -v ./...
|
||||
with:
|
||||
checkout: actions/checkout@v3
|
||||
deps: go get -v -d ./...
|
||||
setup-go: actions/setup-go@v5
|
||||
go-version: 'stable'
|
||||
|
@ -28,7 +28,7 @@ func TestClient(t *testing.T) {
|
||||
}
|
||||
|
||||
x1 := svc.Client("test2")
|
||||
if x1.Name() == "test2" {
|
||||
if x1.Name() != "test2" {
|
||||
t.Fatalf("invalid client %#+v", svc.Options().Clients)
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user