1
0
Fork 0

Adding upstream version 3.6.2.

Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
Daniel Baumann 2025-05-22 21:13:13 +02:00
parent 1347af6294
commit cb9cbb7a25
Signed by: daniel
GPG key ID: FBB4F0E80A80222F
32 changed files with 4944 additions and 0 deletions

37
.github/workflows/go-test.yml vendored Normal file
View file

@ -0,0 +1,37 @@
name: unit tests
on:
pull_request:
push:
branches: [master]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
go:
- '1.8'
- '1.9.x'
- '1.10.x'
- '1.11.x'
- '1.12.x'
- '1.13.x'
- '1.14.x'
- '1.15.x'
name: Go ${{ matrix.go }}
steps:
- name: Set up Go ${{ matrix.go }}
uses: actions/setup-go@v1
with:
go-version: ${{ matrix.go }}
id: go
- name: Check out code into the Go module directory
uses: actions/checkout@v1
- name: Test
run: go test ./... -v

25
.github/workflows/lints.yml vendored Normal file
View file

@ -0,0 +1,25 @@
name: lints
on:
pull_request:
push:
branches: [master]
jobs:
pre-commit:
runs-on: ubuntu-latest
steps:
- name: install go-imports
run: go install golang.org/x/tools/cmd/goimports@latest
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
- uses: pre-commit/action@v2.0.0
with:
extra_args: --all-files --hook-stage=manual
golangci:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: golangci-lint
uses: golangci/golangci-lint-action@v2