mirror of
https://github.com/pushbits/server.git
synced 2025-04-29 18:26:49 +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:
|
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
|
||||||
|
|
||||||
|
|
7
.github/workflows/publish.yml
vendored
7
.github/workflows/publish.yml
vendored
|
@ -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
|
||||||
|
|
7
.github/workflows/test.yml
vendored
7
.github/workflows/test.yml
vendored
|
@ -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
|
||||||
|
|
2
Makefile
2
Makefile
|
@ -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:
|
||||||
|
|
Loading…
Add table
Reference in a new issue