From 072977790d484813628efa990abfa422eb10066e Mon Sep 17 00:00:00 2001 From: DimitrisJim Date: Wed, 16 Aug 2023 13:23:01 +0300 Subject: [PATCH] Add linting for callbacks submodule. --- .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: