From fed7af4ad8210d0ff64ea229e8930b137dd2208d Mon Sep 17 00:00:00 2001 From: Aleksandr Tolstikhin Date: Sat, 7 Dec 2024 01:13:39 +0700 Subject: [PATCH] Upd condition and del pipeline yml --- .gitea/workflows/job_lint.yml | 1 + .gitea/workflows/job_test.yml | 1 + .gitea/workflows/pipeline.yml | 42 ----------------------------------- 3 files changed, 2 insertions(+), 42 deletions(-) delete mode 100644 .gitea/workflows/pipeline.yml diff --git a/.gitea/workflows/job_lint.yml b/.gitea/workflows/job_lint.yml index 809e6c31..aa45e23d 100644 --- a/.gitea/workflows/job_lint.yml +++ b/.gitea/workflows/job_lint.yml @@ -2,6 +2,7 @@ name: lint on: pull_request: + types: [opened, reopened, closed] branches: - master - v3 diff --git a/.gitea/workflows/job_test.yml b/.gitea/workflows/job_test.yml index 8ea0e79c..550f2bda 100644 --- a/.gitea/workflows/job_test.yml +++ b/.gitea/workflows/job_test.yml @@ -3,6 +3,7 @@ name: test on: push: pull_request: + types: [opened, reopened, closed] branches: - master - v3 diff --git a/.gitea/workflows/pipeline.yml b/.gitea/workflows/pipeline.yml deleted file mode 100644 index 8ae41fd6..00000000 --- a/.gitea/workflows/pipeline.yml +++ /dev/null @@ -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 ./...