micro/.gitea/workflows/pipeline.yml
Aleksandr Tolstikhin cba9d6849e
Some checks failed
pipeline / test (pull_request) Failing after 6s
pipeline / setup (pull_request) Successful in 15s
pipeline / lint (pull_request) Failing after 9m31s
Upd test in yml
2024-12-06 02:33:34 +07:00

43 lines
859 B
YAML

name: pipeline
on:
pull_request:
branches:
- master
- v3
jobs:
setup:
name: setup
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 ./...
lint:
name: lint
runs-on: ubuntu-latest
needs: setup
steps:
- name: lint
uses: https://github.com/golangci/golangci-lint-action@v6
with:
version: v1.58
test:
name: test
runs-on: ubuntu-latest
# needs: setup
steps:
- name: test
env:
INTEGRATION_TESTS: yes
run: go test -mod readonly -v ./...
with:
checkout: actions/checkout@v3
deps: go get -v -d ./...
setup-go: actions/setup-go@v5
go-version: 'stable'