From eba7784e596dab9f582c8a16d9afaec8f367b37f Mon Sep 17 00:00:00 2001 From: Joakim Olsson Date: Thu, 4 May 2023 08:34:40 +0200 Subject: [PATCH] ci: update Go version and fix gitlabci lint --- .gitlab-ci.yml | 4 ++-- .pre-commit-config.yaml | 3 +++ 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index e579971..9d82afd 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,7 +1,7 @@ include: - template: 'Workflows/MergeRequest-Pipelines.gitlab-ci.yml' -image: golang:1.20.3 +image: golang:1.20.4 stages: - deps @@ -42,7 +42,7 @@ test: vulnerabilities: stage: test - image: golang:1.20.3 + image: golang:1.20.4 script: - go install golang.org/x/vuln/cmd/govulncheck@latest - govulncheck ./... diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index f4453c3..743525f 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -18,6 +18,9 @@ repos: rev: v1.0.3 hooks: - id: gitlab-ci-linter + args: + - --project + - unboundsoftware/shiny/authz_client - repo: https://github.com/alessandrojcm/commitlint-pre-commit-hook rev: v9.3.0 hooks: