Skip to content

Support larger registrations in DNS registrar #849

Support larger registrations in DNS registrar

Support larger registrations in DNS registrar #849

Workflow file for this run

name: Go
on:
push:
branches: [master]
pull_request:
branches: [master]
jobs:
build:
name: Build and Test using Golang ${{ matrix.go-version }}
strategy:
fail-fast: false
matrix:
go-version: [1.21.x, 1.22.x, stable]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
path: go/src/github.com/refraction-networking/conjure
- name: Install deps
run: |
sudo apt-get update
sudo apt-get install protobuf-compiler software-properties-common -y -q
sudo apt-get install libzmq3-dev libssl-dev pkg-config libgmp3-dev -y -q
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: ${{ matrix.go-version }}
- name: Test
run: |
cd $GITHUB_WORKSPACE/go/src/github.com/refraction-networking/conjure
export GOPATH="$GITHUB_WORKSPACE/go"
go test -v -race ./...
- name: Build app
run: |
cd $GITHUB_WORKSPACE/go/src/github.com/refraction-networking/conjure
make app
- name: Build registration-server
run: |
cd $GITHUB_WORKSPACE/go/src/github.com/refraction-networking/conjure
make registration-server
golangci-lint:
name: Format and Lint with golangci-lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install deps
run: |
sudo apt-get update
sudo apt-get install protobuf-compiler software-properties-common -y -q
sudo apt-get install libzmq3-dev libssl-dev pkg-config libgmp3-dev -y -
- name: golangci-lint
uses: golangci/golangci-lint-action@v3
with:
version: latest
args: -v --disable structcheck,govet --timeout 5m