From ae33cc0ea7ca2d98815c3c0da0562b8220c47c46 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20HERZOG?= Date: Fri, 13 Mar 2026 12:37:37 +0000 Subject: [PATCH] PB-50035 - Go: Add linting to ci MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Cédric HERZOG --- .github/workflows/.go.yml | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) diff --git a/.github/workflows/.go.yml b/.github/workflows/.go.yml index fce06f0..260612b 100644 --- a/.github/workflows/.go.yml +++ b/.github/workflows/.go.yml @@ -7,13 +7,25 @@ on: branches: [main, v5] jobs: + lint: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: actions/setup-go@v5 + with: + go-version: '1.25' + - name: golangci-lint + uses: golangci/golangci-lint-action@v7 + with: + version: v2.4 + test: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 - - uses: actions/setup-go@v2 + - uses: actions/checkout@v4 + - uses: actions/setup-go@v5 with: - go-version: 1.23 + go-version: '1.25' - name: "Setup Passbolt" run: | git clone https://github.com/passbolt/passbolt_docker.git ../passbolt_docker