toolbox/.github/workflows/linting.yaml
Ondřej Míchal 7c86f30b77 ci: Add golangci linter
Use machines to do (at least some) of the work humans had to do!

https://github.com/containers/toolbox/pull/974
2022-01-09 16:29:32 +01:00

25 lines
418 B
YAML

name: Golangci Lint
on:
push:
branches:
- main
pull_request:
permissions:
contents: read
pull-requests: read
jobs:
golangci:
name: Lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: golangci-lint
uses: golangci/golangci-lint-action@v2
with:
version: latest
working-directory: ./src
only-new-issues: true