2021-10-29 05:16:01 +02:00
|
|
|
name: golangci-lint
|
|
|
|
on: [push, pull_request]
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
golangci-lint:
|
|
|
|
name: lint
|
|
|
|
runs-on: ubuntu-latest
|
2022-09-08 00:14:30 +02:00
|
|
|
permissions:
|
|
|
|
contents: read # for actions/checkout to fetch code
|
|
|
|
pull-requests: read # for golangci/golangci-lint-action to fetch pull requests
|
2021-10-29 05:16:01 +02:00
|
|
|
steps:
|
2024-01-11 20:30:31 +01:00
|
|
|
- uses: actions/checkout@v4.1.1
|
2021-10-29 05:16:01 +02:00
|
|
|
- name: golangci-lint
|
2024-02-14 23:45:49 +01:00
|
|
|
uses: golangci/golangci-lint-action@3cfe3a4abbb849e10058ce4af15d205b6da42804
|
2021-10-29 05:16:01 +02:00
|
|
|
with:
|
|
|
|
only-new-issues: true
|