Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): update dependency golangci/golangci-lint to v1.63.3 #663

Merged
merged 2 commits into from
Jan 3, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/qa.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
- uses: golangci/golangci-lint-action@971e284b6050e8a5849b72094c50ab08da042db8 # v6.1.1
with:
# renovate: datasource=github-releases depName=golangci/golangci-lint
version: v1.62.2
version: v1.63.3

tests:
name: Run tests
Expand Down
16 changes: 8 additions & 8 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -29,18 +29,18 @@ docs: build

qa: lint test

# renovate: datasource=github-releases depName=radiofrance/lint-config
LINT_CONFIG_VERSION=v1.0.1
LINT_CONFIG_VERSION = v1.0.2

lint: ## Lint source code
curl -o .golangci.yml -sS "https://raw.githubusercontent.com/radiofrance/lint-config/${LINT_CONFIG_VERSION}/.golangci.yml"
golangci-lint run --verbose

PKG := "./..."
RUN := ".*"
RED := $(shell tput setaf 1)
GREEN := $(shell tput setaf 2)
BLUE := $(shell tput setaf 4)
RESET := $(shell tput sgr0)
PKG = ./...
RUN = ".*"
RED = $(shell tput setaf 1)
GREEN = $(shell tput setaf 2)
BLUE = $(shell tput setaf 4)
RESET = $(shell tput sgr0)

.PHONY: test
test: ## Run tests
Expand Down
4 changes: 1 addition & 3 deletions pkg/graphviz/graphviz_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,7 @@ func Test_GenerateDotviz(t *testing.T) {
map[string]string{})
require.NoError(t, err)

dir, err := os.MkdirTemp("/tmp", "dib-test")
require.NoError(t, err)
defer os.RemoveAll(dir)
dir := t.TempDir()

dotFile := path.Join(dir, "dib.dot")
err = graphviz.GenerateDotviz(graph, dotFile)
Expand Down
Loading