28 lines
546 B
YAML
Raw Normal View History

name: pr
on:
pull_request:
branches:
- master
- v3
2020-02-24 14:11:17 +00:00
jobs:
test:
name: test
2020-02-24 14:11:17 +00:00
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v3
- name: setup-go
2024-12-05 23:55:31 +07:00
uses: actions/setup-go@v5
2024-12-05 23:59:15 +07:00
with:
go-version: 'stable'
- name: deps
run: go get -v -t -d ./...
2024-12-05 23:55:31 +07:00
- name: lint
uses: https://github.com/golangci/golangci-lint-action@v6
with:
version: v1.58
- name: test
2020-02-24 14:11:17 +00:00
env:
INTEGRATION_TESTS: yes
run: go test -mod readonly -v ./...