actions-runner/.gitea/workflows/lint.yml

21 lines
525 B
YAML
Raw Normal View History

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