From 3dd55354cfd0078b0bc667512c6f85d6aea43c0c Mon Sep 17 00:00:00 2001 From: Aleksandr Tolstikhin Date: Fri, 6 Dec 2024 01:48:15 +0700 Subject: [PATCH] Upd ymls --- .gitea/workflows/lint.yml | 24 ----------------- .../workflows/{lint_copy.yml => pipeline.yml} | 19 +++++++------ .gitea/workflows/pr.yml | 27 ------------------- 3 files changed, 9 insertions(+), 61 deletions(-) delete mode 100644 .gitea/workflows/lint.yml rename .gitea/workflows/{lint_copy.yml => pipeline.yml} (66%) delete mode 100644 .gitea/workflows/pr.yml diff --git a/.gitea/workflows/lint.yml b/.gitea/workflows/lint.yml deleted file mode 100644 index bbc6cab7..00000000 --- a/.gitea/workflows/lint.yml +++ /dev/null @@ -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 diff --git a/.gitea/workflows/lint_copy.yml b/.gitea/workflows/pipeline.yml similarity index 66% rename from .gitea/workflows/lint_copy.yml rename to .gitea/workflows/pipeline.yml index 0848872c..c23479dd 100644 --- a/.gitea/workflows/lint_copy.yml +++ b/.gitea/workflows/pipeline.yml @@ -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 ./... diff --git a/.gitea/workflows/pr.yml b/.gitea/workflows/pr.yml deleted file mode 100644 index 8dd569e9..00000000 --- a/.gitea/workflows/pr.yml +++ /dev/null @@ -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 ./...