From d76b3fe8bf9cb55ffe7e3b439c6e57a305869333 Mon Sep 17 00:00:00 2001 From: "Kwiatosz, Krzysztof" Date: Wed, 3 Jan 2024 11:23:45 +0100 Subject: [PATCH] linting job --- .github/workflows/warden-verify.yaml | 18 +++++++++++++----- 1 file changed, 13 insertions(+), 5 deletions(-) diff --git a/.github/workflows/warden-verify.yaml b/.github/workflows/warden-verify.yaml index c570fb99..d149367a 100644 --- a/.github/workflows/warden-verify.yaml +++ b/.github/workflows/warden-verify.yaml @@ -7,7 +7,18 @@ on: pull_request: jobs: - verify: + lint: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - uses: actions/setup-go@v4 + with: + go-version: '1.21' + cache: true + - uses: golangci/golangci-lint-action@v3 + with: + version: v1.54 + unit-test: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 @@ -15,13 +26,10 @@ jobs: with: go-version: '1.21' cache: true - - name: lint - run: make lint - name: unit test run: make test - integration-test: - needs: verify + needs: unit-test runs-on: ubuntu-latest steps: - uses: actions/checkout@v3