mirror of
https://codeberg.org/pronounscc/pronouns.cc.git
synced 2024-11-20 10:19:51 +01:00
add backend CI
This commit is contained in:
parent
44b667ff43
commit
e37b5be376
3 changed files with 12 additions and 1 deletions
2
.golangci.yml
Normal file
2
.golangci.yml
Normal file
|
@ -0,0 +1,2 @@
|
|||
run:
|
||||
issues-exit-code: 0 # lol
|
9
.woodpecker/.backend.yml
Normal file
9
.woodpecker/.backend.yml
Normal file
|
@ -0,0 +1,9 @@
|
|||
steps:
|
||||
check:
|
||||
image: golang:alpine
|
||||
commands:
|
||||
- apk update && apk add curl vips-dev build-base
|
||||
- make backend
|
||||
# Install golangci-lint
|
||||
- curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.55.2
|
||||
- golangci-lint run
|
|
@ -1,5 +1,5 @@
|
|||
steps:
|
||||
frontend:
|
||||
check:
|
||||
image: node
|
||||
directory: frontend
|
||||
environment: # SvelteKit expects these in the environment during build time.
|
Loading…
Reference in a new issue