2021-11-06 22:16:34 +01:00
|
|
|
name: golangci-lint
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
pull_request:
|
|
|
|
permissions:
|
|
|
|
contents: read
|
|
|
|
jobs:
|
|
|
|
golangci:
|
|
|
|
name: lint
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
2022-11-08 05:23:27 +01:00
|
|
|
- uses: actions/checkout@v3
|
2022-08-03 22:32:02 +02:00
|
|
|
|
2022-04-13 09:19:00 +02:00
|
|
|
- uses: actions/setup-go@v3
|
|
|
|
with:
|
2022-08-03 22:32:02 +02:00
|
|
|
go-version-file: go.mod
|
2022-11-08 05:23:27 +01:00
|
|
|
- uses: actions/checkout@v3
|
2022-08-03 22:32:02 +02:00
|
|
|
|
2021-11-06 22:16:34 +01:00
|
|
|
- name: golangci-lint
|
2022-08-03 22:10:07 +02:00
|
|
|
run: make lint
|