From 704bd47124702a76160f25eaa437cc05175ab013 Mon Sep 17 00:00:00 2001 From: Victor Hugo Avelar Ossorio Date: Sat, 15 Jun 2024 17:19:51 +0000 Subject: [PATCH] chore(devcontainer): fix config files --- .devcontainer/devcontainer.json | 3 ++- .gitignore | 2 ++ .golangci.yaml | 8 +++++--- .goreleaser.yml => .goreleaser.yaml | 9 +++++---- 4 files changed, 14 insertions(+), 8 deletions(-) rename .goreleaser.yml => .goreleaser.yaml (80%) diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index 0775c1f0..0af06817 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -124,7 +124,8 @@ "install-zsh-plugins": "git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting && git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions", "modules": "go mod download", "taskfile": "go install github.com/go-task/task/v3/cmd/task@latest", - "gomarkdoc": "go install github.com/princjef/gomarkdoc/cmd/gomarkdoc@latest" + "gomarkdoc": "go install github.com/princjef/gomarkdoc/cmd/gomarkdoc@latest", + "goreleaser": "go install github.com/goreleaser/goreleaser/v2@latest" }, "remoteUser": "root", "containerUser": "root", diff --git a/.gitignore b/.gitignore index 96827879..7c0e49a2 100644 --- a/.gitignore +++ b/.gitignore @@ -16,3 +16,5 @@ # Wiki pages wiki + +dist/ diff --git a/.golangci.yaml b/.golangci.yaml index d7221e4b..906e3a94 100644 --- a/.golangci.yaml +++ b/.golangci.yaml @@ -5,12 +5,14 @@ run: timeout: 20s issues-exit-code: 2 tests: false - skip-dirs-use-default: true modules-download-mode: readonly - go: "1.17" + go: "1.22" output: - format: tab + formats: + - path: stdout + format: tab + - format: colored-line-number sort-results: true linters: diff --git a/.goreleaser.yml b/.goreleaser.yaml similarity index 80% rename from .goreleaser.yml rename to .goreleaser.yaml index 148f7cbd..d79021b0 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yaml @@ -1,7 +1,8 @@ -# This is an example goreleaser.yaml file with some sane defaults. -project_name: mollie-api-golang -build: - skip: true +version: 2 + +builds: + - skip: true + changelog: use: github sort: asc