2022-04-27 12:45:53 +03:00
|
|
|
name: checks
|
|
|
|
on: [push]
|
|
|
|
|
|
|
|
env:
|
2022-05-02 12:02:51 +03:00
|
|
|
GOPROXY: https://goproxy.io,direct
|
2022-04-27 12:45:53 +03:00
|
|
|
|
|
|
|
jobs:
|
|
|
|
lint:
|
|
|
|
name: lint
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
2022-05-02 12:02:51 +03:00
|
|
|
- uses: actions/setup-go@v3
|
2022-04-27 12:45:53 +03:00
|
|
|
with:
|
2022-05-02 12:02:51 +03:00
|
|
|
go-version: 1.17
|
|
|
|
- uses: actions/checkout@v3
|
|
|
|
- uses: Jerome1337/golint-action@v1.0.2
|
|
|
|
#- name: golangci-lint
|
|
|
|
# uses: golangci/golangci-lint-action@v3
|
|
|
|
# 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.29
|