fix pipeline #365

Merged
vtolstov merged 14 commits from :atolstikhin-v3 into v3 2024-12-06 19:05:28 +03:00
3 changed files with 9 additions and 61 deletions
Showing only changes of commit 3dd55354cf - Show all commits

View File

@ -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

View File

@ -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,20 +19,19 @@ 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
env:
INTEGRATION_TESTS: yes
run: go test -mod readonly -v ./...
- name: test
env:
INTEGRATION_TESTS: yes
run: go test -mod readonly -v ./...

View File

@ -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 ./...