fix pipeline #365
@ -1,24 +0,0 @@
|
||||
name: lint
|
||||
on:
|
||||
pull_request:
|
||||
branches:
|
||||
- master
|
||||
- v3
|
||||
jobs:
|
||||
lint:
|
||||
name: lint
|
||||
runs-on: ubuntu-latest
|
||||
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: lint
|
||||
uses: https://github.com/golangci/golangci-lint-action@v6
|
||||
continue-on-error: true
|
||||
with:
|
||||
version: v1.58
|
@ -1,4 +1,4 @@
|
||||
name: lint_copy
|
||||
name: pipeline
|
||||
on:
|
||||
pull_request:
|
||||
branches:
|
||||
@ -7,7 +7,7 @@ on:
|
||||
jobs:
|
||||
setup:
|
||||
name: setup
|
||||
runs-on: ubuntu-latest
|
||||
runs-on: ubuntu-latest-slim
|
||||
steps:
|
||||
- name: setup-go
|
||||
uses: actions/setup-go@v5
|
||||
@ -19,17 +19,16 @@ jobs:
|
||||
run: go get -v -d ./...
|
||||
lint:
|
||||
name: lint
|
||||
runs-on: ubuntu-latest
|
||||
runs-on: ubuntu-latest-slim
|
||||
needs: setup
|
||||
steps:
|
||||
- name: lint
|
||||
uses: https://github.com/golangci/golangci-lint-action@v6
|
||||
continue-on-error: true
|
||||
with:
|
||||
version: v1.58
|
||||
test:
|
||||
name: lint
|
||||
runs-on: ubuntu-latest
|
||||
name: test
|
||||
runs-on: ubuntu-latest-slim
|
||||
needs: setup
|
||||
steps:
|
||||
- name: test
|
@ -1,27 +0,0 @@
|
||||
name: pr
|
||||
on:
|
||||
pull_request:
|
||||
branches:
|
||||
- master
|
||||
- v3
|
||||
jobs:
|
||||
test:
|
||||
name: test
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: checkout
|
||||
uses: actions/checkout@v3
|
||||
- name: setup-go
|
||||
uses: actions/setup-go@v5
|
||||
with:
|
||||
go-version: 'stable'
|
||||
- name: deps
|
||||
run: go get -v -t -d ./...
|
||||
- name: lint
|
||||
uses: https://github.com/golangci/golangci-lint-action@v6
|
||||
with:
|
||||
version: v1.58
|
||||
# - name: test
|
||||
# env:
|
||||
# INTEGRATION_TESTS: yes
|
||||
# run: go test -mod readonly -v ./...
|
Loading…
x
Reference in New Issue
Block a user