From 9b7d01efe51a7fb60bb9a1bebbf5be4a434ca1f3 Mon Sep 17 00:00:00 2001 From: Jim Fasarakis-Hilliard Date: Wed, 16 Aug 2023 16:11:32 +0300 Subject: [PATCH] Add linting for callbacks submodule. (#4355) --- .github/workflows/callbacks.yml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/.github/workflows/callbacks.yml b/.github/workflows/callbacks.yml index e20ded116f3..e14388f9909 100644 --- a/.github/workflows/callbacks.yml +++ b/.github/workflows/callbacks.yml @@ -5,8 +5,23 @@ on: paths: - '.github/workflows/callbacks.yml' - 'modules/apps/callbacks/**' +permissions: + contents: read jobs: + lint: + runs-on: ubuntu-latest + steps: + - uses: actions/setup-go@v4 + with: + go-version: '1.20' + - uses: actions/checkout@v3 + - uses: golangci/golangci-lint-action@v3.7.0 + with: + version: v1.53.3 + args: --timeout 5m + working-directory: modules/apps/callbacks + build: runs-on: ubuntu-latest strategy: