ftp/.github/workflows/golangci-lint.yaml

17 lines
515 B
YAML
Raw Normal View History

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:
2022-09-08 00:14:30 +02:00
- uses: actions/checkout@7884fcad6b5d53d10323aee724dc68d8b9096a2e
2021-10-29 05:16:01 +02:00
- name: golangci-lint
uses: golangci/golangci-lint-action@537aa1903e5d359d0b27dbc19ddd22c5087f3fbc
2021-10-29 05:16:01 +02:00
with:
only-new-issues: true