add backend CI

This commit is contained in:
sam 2023-12-30 03:51:01 +01:00
parent 44b667ff43
commit e37b5be376
No known key found for this signature in database
GPG Key ID: B4EF20DDE721CAA1
3 changed files with 12 additions and 1 deletions

2
.golangci.yml Normal file
View File

@ -0,0 +1,2 @@
run:
issues-exit-code: 0 # lol

9
.woodpecker/.backend.yml Normal file
View 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

View File

@ -1,5 +1,5 @@
steps: steps:
frontend: check:
image: node image: node
directory: frontend directory: frontend
environment: # SvelteKit expects these in the environment during build time. environment: # SvelteKit expects these in the environment during build time.