Remove Poetry

This commit is contained in:
eikendev 2023-03-25 23:24:45 +01:00
parent f251b12fc8
commit bc65c4661e
No known key found for this signature in database
GPG key ID: A1BDB1B28C8EF694
4 changed files with 2 additions and 17 deletions

View file

@ -23,9 +23,6 @@ jobs:
with: with:
go-version: '1.20.2' go-version: '1.20.2'
- name: Install Poetry
run: curl -sSL https://install.python-poetry.org | python3 -
- name: Install dependencies - name: Install dependencies
run: make setup run: make setup

View file

@ -21,16 +21,11 @@ jobs:
with: with:
go-version: '1.20.2' go-version: '1.20.2'
- name: Install Poetry
run: curl -sSL https://install.python-poetry.org | python3 -
- name: Install dependencies - name: Install dependencies
run: make setup run: make setup
- name: Run tests - name: Run tests
run: | run: make test
source $(poetry env info --path)/bin/activate
make test
publish_docker_image: publish_docker_image:
name: Publish Docker image name: Publish Docker image

View file

@ -26,16 +26,11 @@ jobs:
with: with:
go-version: '1.20.2' go-version: '1.20.2'
- name: Install Poetry
run: curl -sSL https://install.python-poetry.org | python3 -
- name: Install dependencies - name: Install dependencies
run: make setup run: make setup
- name: Run tests - name: Run tests
run: | run: make test
source $(poetry env info --path)/bin/activate
make test
- name: Build - name: Build
run: make build run: make build

View file

@ -33,7 +33,6 @@ test:
.PHONY: setup .PHONY: setup
setup: setup:
git submodule update --init --recursive
go install github.com/fzipp/gocyclo/cmd/gocyclo@latest go install github.com/fzipp/gocyclo/cmd/gocyclo@latest
go install github.com/kisielk/errcheck@latest go install github.com/kisielk/errcheck@latest
go install github.com/securego/gosec/v2/cmd/gosec@latest go install github.com/securego/gosec/v2/cmd/gosec@latest
@ -41,7 +40,6 @@ setup:
go install golang.org/x/vuln/cmd/govulncheck@latest go install golang.org/x/vuln/cmd/govulncheck@latest
go install honnef.co/go/tools/cmd/staticcheck@latest go install honnef.co/go/tools/cmd/staticcheck@latest
go install mvdan.cc/gofumpt@latest go install mvdan.cc/gofumpt@latest
poetry install
.PHONY: fmt .PHONY: fmt
fmt: fmt: