micro/.gitea/workflows/pipeline.yml
Aleksandr Tolstikhin 3dd55354cf
Some checks failed
pipeline / setup (pull_request) Has been cancelled
pipeline / lint (pull_request) Has been cancelled
pipeline / test (pull_request) Has been cancelled
Upd ymls
2024-12-06 01:48:15 +07:00

38 lines
722 B
YAML

name: pipeline
on:
pull_request:
branches:
- master
- v3
jobs:
setup:
name: setup
runs-on: ubuntu-latest-slim
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-slim
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-slim
needs: setup
steps:
- name: test
env:
INTEGRATION_TESTS: yes
run: go test -mod readonly -v ./...