mirror of
https://github.com/pushbits/server.git
synced 2025-04-29 10:16:50 +02:00
Remove Poetry
This commit is contained in:
parent
f251b12fc8
commit
bc65c4661e
4 changed files with 2 additions and 17 deletions
3
.github/workflows/documentation.yml
vendored
3
.github/workflows/documentation.yml
vendored
|
@ -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
|
||||
|
||||
|
|
7
.github/workflows/publish.yml
vendored
7
.github/workflows/publish.yml
vendored
|
@ -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
|
||||
|
|
7
.github/workflows/test.yml
vendored
7
.github/workflows/test.yml
vendored
|
@ -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
|
||||
|
|
2
Makefile
2
Makefile
|
@ -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:
|
||||
|
|
Loading…
Add table
Reference in a new issue