Skip to content

Merge pull request #616 from KforG/ping-optimization #141

Merge pull request #616 from KforG/ping-optimization

Merge pull request #616 from KforG/ping-optimization #141

Workflow file for this run

name: golangci-lint
on:
push:
branches:
- master
pull_request:
branches:
- master
permissions:
contents: read
# Optional: allow read access to pull request. Use with `only-new-issues` option.
# pull-requests: read
jobs:
golangci:
name: lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Setup Go
uses: actions/setup-go@v2
with:
go-version: '1.17.0' # The Go version to download (if necessary) and use.
# Install all the dependencies
- name: Install dependencies
run: |
go mod tidy
- name: golangci-lint
uses: golangci/golangci-lint-action@v2
with:
# Optional: version of golangci-lint to use in form of v1.2 or v1.2.3 or `latest` to use the latest version
version: v1.43.0
# Run build of the application
- name: Run build
run: go build .