You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
406 B
23 lines
406 B
2 years ago
|
name: Lint
|
||
|
on:
|
||
|
push:
|
||
|
branches:
|
||
|
- master
|
||
|
pull_request:
|
||
|
|
||
|
jobs:
|
||
|
lint:
|
||
|
name: Lint
|
||
|
runs-on: ubuntu-latest
|
||
|
steps:
|
||
|
- name: Set Golang
|
||
|
uses: actions/setup-go@v3
|
||
|
with:
|
||
|
go-version: 1.19
|
||
|
- name: Checkout code
|
||
|
uses: actions/checkout@v3
|
||
|
- name: Lint
|
||
|
uses: golangci/golangci-lint-action@v3
|
||
|
with:
|
||
|
version: latest
|