Skip to content

handle dns resolution error gracefully #110

handle dns resolution error gracefully

handle dns resolution error gracefully #110

Workflow file for this run

name: Build
on: [push]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
go-version: [ '1.21' ]
permissions:
## Lint
contents: read
# Optional: allow read access to pull request. Use with `only-new-issues` option.
# pull-requests: read
steps:
- uses: actions/checkout@v4
- name: Set up Go ${{ matrix.go-version }}
uses: actions/setup-go@v4
with:
go-version: ${{ matrix.go-version }}
- name: Display Go version
run: go version
- name: Build
run: make build
- name: Lint
uses: golangci/golangci-lint-action@3a919529898de77ec3da873e3063ca4b10e7f5cc #v3
with:
version: v1.55.2
- name: Test
run: make test
- name: Create coverage report
run: make coverage
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@eaaf4bedf32dbdc6b720b63067d99c4d77d6047d #v3
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}