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

Update dependency go to v1.23.4 #183

Merged
merged 2 commits into from
Dec 5, 2024
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 .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Used to install CRDB into the devcontainer
FROM cockroachdb/cockroach:latest-v23.1 as CRDB

FROM mcr.microsoft.com/vscode/devcontainers/go:1-1.22-bullseye
FROM mcr.microsoft.com/vscode/devcontainers/go:1-1.23-bullseye

# Set up crdb
RUN mkdir /usr/local/lib/cockroach
Expand Down
16 changes: 8 additions & 8 deletions .golangci.yaml
Original file line number Diff line number Diff line change
@@ -1,12 +1,6 @@
run:
build-tags:
- testtools
skip-files:
- internal/ent/generated/*
- internal/graphql/gen_*
skip-dirs:
# Exclude generated ent code
- internal/ent/generated

linters-settings:
goimports:
Expand All @@ -32,10 +26,10 @@ linters:
# additional linters
- gocritic
- gocyclo
- goerr113
- err113
- gofmt
- goimports
- gomnd
- mnd
- govet
- misspell
- revive
Expand All @@ -44,6 +38,12 @@ linters:
- wsl

issues:
exclude-files:
- internal/ent/generated/.*
- internal/graphql/gen_.*
exclude-dirs:
# Exclude generated ent code
- internal/ent/generated
exclude:
# Default excludes from `golangci-lint run --help` with EXC0002 removed
# EXC0001 errcheck: Almost all programs ignore errors on these functions and in most cases it's ok
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ GCI_REPO = github.com/daixiang0/gci
GCI_VERSION = v0.10.1

GOLANGCI_LINT_REPO = github.com/golangci/golangci-lint
GOLANGCI_LINT_VERSION = v1.57.2
GOLANGCI_LINT_VERSION = v1.62.2

# go files to be checked
GO_FILES=$(shell git ls-files '*.go')
Expand Down
4 changes: 2 additions & 2 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
module go.infratographer.com/tenant-api

go 1.22.5
go 1.23

toolchain go1.22.6
toolchain go1.23.4

require (
entgo.io/contrib v0.6.0
Expand Down
Loading