Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
steps:
- uses: actions/setup-go@v2
with:
go-version: "1.17.2"
go-version: "1.21"
- uses: actions/setup-node@v2
- uses: actions/checkout@v2
- uses: arduino/setup-task@v1
Expand Down
8 changes: 4 additions & 4 deletions Taskfile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ tasks:
# Production deployment run - migrate DB first, then
production:
cmds:
- npx prisma migrate deploy
- npx prisma@4 migrate deploy
- ./server.exe

deploy:
Expand All @@ -33,15 +33,15 @@ tasks:
generate:
cmds:
# Generate main database bindings
- npx prisma generate
- npx prisma@4 generate
# Generate Burgershot (MyBB) database bindings
- npx prisma generate --schema=./prisma/burgershot.prisma
- npx prisma@4 generate --schema=./prisma/burgershot.prisma
# Also generate TypeScript type declarations from some backend structs.
- go run types.go

migrate:
cmds:
- npx prisma migrate dev
- npx prisma@4 migrate dev

dbuild:
cmds:
Expand Down