-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #152 from VictorAvelar/update-dependencies
Update deps
- Loading branch information
Showing
10 changed files
with
183 additions
and
585 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,4 @@ | ||
ARG GO_VERSION=1-bullseye | ||
ARG GO_VERSION=1-1-bullseye | ||
|
||
ARG VARIANT=1-bullseye | ||
FROM mcr.microsoft.com/vscode/devcontainers/go:0-${GO_VERSION} | ||
|
||
# Installs devtooling and font-utils | ||
RUN apt-get update && \ | ||
apt install -y exa bat curl fontconfig | ||
|
||
# Install shell superset https://starship.rs | ||
RUN sh -c "$(curl -fsSL https://starship.rs/install.sh)" -y -f | ||
|
||
# Install NerdFonts to enabled ligatures and glyphs. | ||
RUN mkdir /root/.fonts && \ | ||
wget https://github.com/ryanoasis/nerd-fonts/releases/download/v2.3.3/FiraCode.zip && \ | ||
unzip FiraCode.zip && \ | ||
rm FiraCode.zip && \ | ||
fc-cache /root/.fonts | ||
FROM mcr.microsoft.com/vscode/devcontainers/go:${GO_VERSION} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
version: 3 | ||
|
||
tasks: | ||
build: | ||
cmds: | ||
- docker build -t mollie-cli:latest -f Dockerfile . | ||
run: | ||
cmds: | ||
- docker run --rm mollie-cli:latest | ||
ci-lint: | ||
cmds: | ||
- golangci-lint run --out-format=tab --issues-exit-code=0 --sort-results --skip-dirs-use-default --tests=false --presets=bugs,complexity,format,performance,style,unused | ||
pr-lint: | ||
cmds: | ||
- golangci-lint run --issues-exit-code=0 --out-format=github-actions --new=true --sort-results --skip-dirs-use-default --tests=false --presets=bugs,complexity,format,performance,style,unused | ||
ci-all-presets: | ||
cmds: | ||
- golangci-lint run --out-format=tab --issues-exit-code=0 --sort-results --skip-dirs-use-default --tests=false --presets=bugs,comment,complexity,error,format,import,metalinter,module,performance,sql,style,test,unused | ||
lint: | ||
cmds: | ||
- go version | ||
- echo "Running go lint" | ||
- golint ./... | ||
- echo "Running go vet" | ||
- go vet ./... | ||
test: | ||
cmds: | ||
- run | ||
test-local: | ||
cmds: | ||
- go test -v -failfast ./... -coverprofile cover.out | ||
coverage: | ||
cmds: | ||
- go test ./... -coverprofile cover.out | ||
- go tool cover -func=cover.out | ||
clean: | ||
cmds: | ||
- go mod verify | ||
- go mod tidy | ||
compile-master: | ||
cmds: | ||
- git checkout master | ||
- go build -o mollie-master ./cmd/mollie/main.go | ||
- git checkout - | ||
compile-current: | ||
cmds: | ||
- go build -o mollie ./cmd/mollie/main.go |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,43 +1,49 @@ | ||
module github.com/VictorAvelar/mollie-cli | ||
|
||
go 1.20 | ||
go 1.22.0 | ||
|
||
toolchain go1.23.0 | ||
|
||
require ( | ||
github.com/Rhymond/go-money v1.0.10 | ||
github.com/VictorAvelar/mollie-api-go/v3 v3.13.0 | ||
github.com/Rhymond/go-money v1.0.14 | ||
github.com/VictorAvelar/mollie-api-go/v3 v3.14.0 | ||
github.com/avocatl/admiral v0.7.0 | ||
github.com/mitchellh/go-homedir v1.1.0 | ||
github.com/sirupsen/logrus v1.9.3 | ||
github.com/spf13/cobra v1.8.0 | ||
github.com/spf13/cobra v1.8.1 | ||
github.com/spf13/pflag v1.0.5 | ||
github.com/spf13/viper v1.16.0 | ||
github.com/stretchr/testify v1.8.4 | ||
github.com/spf13/viper v1.19.0 | ||
github.com/stretchr/testify v1.9.0 | ||
moul.io/http2curl v1.0.0 | ||
) | ||
|
||
require ( | ||
github.com/chzyer/readline v1.5.0 // indirect | ||
github.com/cpuguy83/go-md2man/v2 v2.0.3 // indirect | ||
github.com/davecgh/go-spew v1.1.1 // indirect | ||
github.com/fsnotify/fsnotify v1.6.0 // indirect | ||
github.com/chzyer/readline v1.5.1 // indirect | ||
github.com/cpuguy83/go-md2man/v2 v2.0.5 // indirect | ||
github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc // indirect | ||
github.com/fsnotify/fsnotify v1.7.0 // indirect | ||
github.com/golang/mock v1.6.0 // indirect | ||
github.com/google/go-querystring v1.1.0 // indirect | ||
github.com/google/uuid v1.3.1 // indirect | ||
github.com/google/uuid v1.6.0 // indirect | ||
github.com/hashicorp/hcl v1.0.0 // indirect | ||
github.com/inconshreveable/mousetrap v1.1.0 // indirect | ||
github.com/magiconair/properties v1.8.7 // indirect | ||
github.com/manifoldco/promptui v0.9.0 // indirect | ||
github.com/mitchellh/mapstructure v1.5.0 // indirect | ||
github.com/pelletier/go-toml/v2 v2.0.8 // indirect | ||
github.com/pmezard/go-difflib v1.0.0 // indirect | ||
github.com/pelletier/go-toml/v2 v2.2.3 // indirect | ||
github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 // indirect | ||
github.com/russross/blackfriday/v2 v2.1.0 // indirect | ||
github.com/smartystreets/goconvey v1.7.2 // indirect | ||
github.com/spf13/afero v1.9.5 // indirect | ||
github.com/spf13/cast v1.5.1 // indirect | ||
github.com/spf13/jwalterweatherman v1.1.0 // indirect | ||
github.com/subosito/gotenv v1.4.2 // indirect | ||
golang.org/x/sys v0.8.0 // indirect | ||
golang.org/x/text v0.9.0 // indirect | ||
github.com/sagikazarmark/locafero v0.6.0 // indirect | ||
github.com/sagikazarmark/slog-shim v0.1.0 // indirect | ||
github.com/smartystreets/goconvey v1.8.1 // indirect | ||
github.com/sourcegraph/conc v0.3.0 // indirect | ||
github.com/spf13/afero v1.11.0 // indirect | ||
github.com/spf13/cast v1.7.0 // indirect | ||
github.com/subosito/gotenv v1.6.0 // indirect | ||
go.uber.org/multierr v1.11.0 // indirect | ||
golang.org/x/exp v0.0.0-20241009180824-f66d83c29e7c // indirect | ||
golang.org/x/sys v0.26.0 // indirect | ||
golang.org/x/text v0.19.0 // indirect | ||
gopkg.in/ini.v1 v1.67.0 // indirect | ||
gopkg.in/yaml.v3 v3.0.1 // indirect | ||
) |
Oops, something went wrong.