Skip to content

Merge pull request #7 from CodeLieutenant/feat/amqp #17

Merge pull request #7 from CodeLieutenant/feat/amqp

Merge pull request #7 from CodeLieutenant/feat/amqp #17

Workflow file for this run

name: 'GolangCI Lint'
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 1
- uses: actions/cache@v4
with:
path: ~/go/pkg/mod
key: ${{ runner.os }}-go-golangci-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-go-golangci-${{ hashFiles('**/go.sum') }}
- name: golangci-lint
uses: reviewdog/action-golangci-lint@v2
with:
golangci_lint_flags: "--config=.golangci.yml"
cache: true