Upd ymls
Some checks failed
pipeline / setup (pull_request) Has been cancelled
pipeline / lint (pull_request) Has been cancelled
pipeline / test (pull_request) Has been cancelled

This commit is contained in:
Aleksandr Tolstikhin 2024-12-06 01:48:15 +07:00
parent 43599cf308
commit 3dd55354cf
3 changed files with 9 additions and 61 deletions

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: on:
pull_request: pull_request:
branches: branches:
@ -7,7 +7,7 @@ on:
jobs: jobs:
setup: setup:
name: setup name: setup
runs-on: ubuntu-latest runs-on: ubuntu-latest-slim
steps: steps:
- name: setup-go - name: setup-go
uses: actions/setup-go@v5 uses: actions/setup-go@v5
@ -19,17 +19,16 @@ jobs:
run: go get -v -d ./... run: go get -v -d ./...
lint: lint:
name: lint name: lint
runs-on: ubuntu-latest runs-on: ubuntu-latest-slim
needs: setup needs: setup
steps: steps:
- name: lint - name: lint
uses: https://github.com/golangci/golangci-lint-action@v6 uses: https://github.com/golangci/golangci-lint-action@v6
continue-on-error: true
with: with:
version: v1.58 version: v1.58
test: test:
name: lint name: test
runs-on: ubuntu-latest runs-on: ubuntu-latest-slim
needs: setup needs: setup
steps: steps:
- name: test - name: test

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