Skip to content

feat: add handling for empty string in address validation #672

feat: add handling for empty string in address validation

feat: add handling for empty string in address validation #672

Workflow file for this run

name: Basic Checks
on:
push:
branches:
- main
pull_request:
branches:
- "*"
jobs:
lint:
env:
GOLANGCI_LINT_VERSION: v1.62.0
name: golangci-lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: ^1.23
- uses: technote-space/[email protected]
id: git_diff
with:
PATTERNS: |
**/**.go
go.mod
go.sum
- name: Clear module cache
run: go clean -modcache
- name: Download dependencies
run: go mod download
- name: Install golangci-lint
run: go install github.com/golangci/golangci-lint/cmd/golangci-lint@${GOLANGCI_LINT_VERSION}
- name: Run golangci-lint
run: make lint
unit-tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: ^1.23
- name: Run unit tests
run: go test -v ./...