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:
go-version: '1.20.2'
- name: Install Poetry
run: curl -sSL https://install.python-poetry.org | python3 -
- name: Install dependencies
run: make setup

View file

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

View file

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

View file

@ -33,7 +33,6 @@ test:
.PHONY: setup
setup:
git submodule update --init --recursive
go install github.com/fzipp/gocyclo/cmd/gocyclo@latest
go install github.com/kisielk/errcheck@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 honnef.co/go/tools/cmd/staticcheck@latest
go install mvdan.cc/gofumpt@latest
poetry install
.PHONY: fmt
fmt: