2022-04-27 09:45:53 +00:00
|
|
|
name: checks
|
|
|
|
on: [push]
|
|
|
|
|
|
|
|
env:
|
2022-05-02 09:02:51 +00:00
|
|
|
GOPROXY: https://goproxy.io,direct
|
2022-04-27 09:45:53 +00:00
|
|
|
|
|
|
|
jobs:
|
|
|
|
lint:
|
|
|
|
name: lint
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
2022-05-02 09:02:51 +00:00
|
|
|
- uses: actions/setup-go@v3
|
2022-04-27 09:45:53 +00:00
|
|
|
with:
|
2022-05-02 09:02:51 +00: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
|