Upd condition and del pipeline yml

This commit is contained in:
Aleksandr Tolstikhin 2024-12-07 01:13:39 +07:00
parent 61dfa6a943
commit fed7af4ad8
3 changed files with 2 additions and 42 deletions

View File

@ -2,6 +2,7 @@ name: lint
on: on:
pull_request: pull_request:
types: [opened, reopened, closed]
branches: branches:
- master - master
- v3 - v3

View File

@ -3,6 +3,7 @@ name: test
on: on:
push: push:
pull_request: pull_request:
types: [opened, reopened, closed]
branches: branches:
- master - master
- v3 - v3

View File

@ -1,42 +0,0 @@
# name: pipeline
# on:
# pull_request:
# branches:
# - master
# - v3
# - v4
# 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
# with:
# version: v1.62.2
# test:
# name: test
# 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: test
# env:
# INTEGRATION_TESTS: yes
# run: go test -mod readonly -v ./...